summaryrefslogtreecommitdiff
path: root/src/lib/elementary/elc_naviframe.c
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2017-08-30 16:40:22 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2017-08-31 11:22:04 +0900
commitb6bab481aa8c4297f7692422b61dacf08f9e1d10 (patch)
tree82dceab2ef8b35e57eb10cb04a1f43345d1ed876 /src/lib/elementary/elc_naviframe.c
parentb0fc5dde62f6392ccf2a46c5be6265e72260b137 (diff)
widget: Mark old focus API as beta.
It's not beta. It's about to die. Also, move #define ELM_WIDGET_BETA to the common header file, as it is consequently required by ALL widgets. :( Ping @bu5hm4n :) Ref T5363
Diffstat (limited to 'src/lib/elementary/elc_naviframe.c')
-rw-r--r--src/lib/elementary/elc_naviframe.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/lib/elementary/elc_naviframe.c b/src/lib/elementary/elc_naviframe.c
index 098cc1f..93fd0fd 100644
--- a/src/lib/elementary/elc_naviframe.c
+++ b/src/lib/elementary/elc_naviframe.c
@@ -6,7 +6,6 @@
6#define ELM_INTERFACE_ATSPI_WIDGET_ACTION_PROTECTED 6#define ELM_INTERFACE_ATSPI_WIDGET_ACTION_PROTECTED
7#define ELM_WIDGET_ITEM_PROTECTED 7#define ELM_WIDGET_ITEM_PROTECTED
8#define ELM_WIDGET_PROTECTED 8#define ELM_WIDGET_PROTECTED
9#define ELM_WIDGET_BETA
10 9
11#include <Elementary.h> 10#include <Elementary.h>
12#include "elm_priv.h" 11#include "elm_priv.h"
@@ -1596,7 +1595,7 @@ _item_push_helper(Elm_Naviframe_Item_Data *item)
1596 evas_object_show(VIEW(item)); 1595 evas_object_show(VIEW(item));
1597 1596
1598 ELM_NAVIFRAME_ITEM_DATA_GET(eo_top_item, top_item); 1597 ELM_NAVIFRAME_ITEM_DATA_GET(eo_top_item, top_item);
1599 if (top_item) elm_widget_focused_object_clear(VIEW(top_item)); 1598 if (top_item) elm_obj_widget_focused_object_clear(VIEW(top_item));
1600 _resize_object_reset(obj, item); 1599 _resize_object_reset(obj, item);
1601 if (top_item) 1600 if (top_item)
1602 { 1601 {
@@ -1737,7 +1736,7 @@ _elm_naviframe_item_insert_after(Eo *obj, Elm_Naviframe_Data *sd, Elm_Object_Ite
1737 1736
1738 if (top_inserted) 1737 if (top_inserted)
1739 { 1738 {
1740 elm_widget_focused_object_clear(VIEW(after)); 1739 elm_obj_widget_focused_object_clear(VIEW(after));
1741 elm_widget_tree_unfocusable_set(VIEW(after), EINA_TRUE); 1740 elm_widget_tree_unfocusable_set(VIEW(after), EINA_TRUE);
1742 _resize_object_reset(obj, it); 1741 _resize_object_reset(obj, it);
1743 evas_object_show(VIEW(it)); 1742 evas_object_show(VIEW(it));