summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorDaniel Juyung Seo <seojuyung2@gmail.com>2012-04-12 15:35:09 +0000
committerDaniel Juyung Seo <seojuyung2@gmail.com>2012-04-12 15:35:09 +0000
commitb28548eabca0369a3a7866c222e3d783ef22bcb1 (patch)
tree0e534443a574bd33b9b70b8fd314c8b3b7f5e6fa /src/lib
parent96bf67966705ca78113ff242860e43f586b575b9 (diff)
elm genlist.c: Removed elm_object_item_content_set/unset, text_set hook.
SVN revision: 70153
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/elm_genlist.c31
1 files changed, 0 insertions, 31 deletions
diff --git a/src/lib/elm_genlist.c b/src/lib/elm_genlist.c
index f3156404d..7ab50d043 100644
--- a/src/lib/elm_genlist.c
+++ b/src/lib/elm_genlist.c
@@ -137,7 +137,6 @@ static Eina_Bool _item_multi_select_up(Widget_Data *wd);
137static Eina_Bool _item_multi_select_down(Widget_Data *wd); 137static Eina_Bool _item_multi_select_down(Widget_Data *wd);
138static Eina_Bool _item_single_select_up(Widget_Data *wd); 138static Eina_Bool _item_single_select_up(Widget_Data *wd);
139static Eina_Bool _item_single_select_down(Widget_Data *wd); 139static Eina_Bool _item_single_select_down(Widget_Data *wd);
140static Evas_Object * _item_content_unset_hook(Elm_Gen_Item *it, const char *part);
141static Eina_Bool _event_hook(Evas_Object *obj, 140static Eina_Bool _event_hook(Evas_Object *obj,
142 Evas_Object *src, 141 Evas_Object *src,
143 Evas_Callback_Type type, 142 Evas_Callback_Type type,
@@ -3637,24 +3636,6 @@ _item_content_get_hook(Elm_Gen_Item *it, const char *part)
3637 return edje_object_part_swallow_get(VIEW(it), part); 3636 return edje_object_part_swallow_get(VIEW(it), part);
3638} 3637}
3639 3638
3640static void
3641_item_content_set_hook(Elm_Gen_Item *it __UNUSED__,
3642 const char *part __UNUSED__,
3643 Evas_Object *content __UNUSED__)
3644{
3645 WRN("genlist/gengrid do not support elm_object_item_part_content_set.\n"
3646 "Use normal genlist/gengrid content_get callback model.");
3647}
3648
3649static Evas_Object *
3650_item_content_unset_hook(Elm_Gen_Item *it __UNUSED__,
3651 const char *part __UNUSED__)
3652{
3653 WRN("genlist/gengrid do not support elm_object_item_part_content_set.\n"
3654 "Use normal genlist/gengrid content_get callback model.");
3655 return NULL;
3656}
3657
3658static const char * 3639static const char *
3659_item_text_get_hook(Elm_Gen_Item *it, const char *part) 3640_item_text_get_hook(Elm_Gen_Item *it, const char *part)
3660{ 3641{
@@ -3663,15 +3644,6 @@ _item_text_get_hook(Elm_Gen_Item *it, const char *part)
3663} 3644}
3664 3645
3665static void 3646static void
3666_item_text_set_hook(Elm_Object_Item *it __UNUSED__,
3667 const char *part __UNUSED__,
3668 const char *text __UNUSED__)
3669{
3670 WRN("genlist/gengrid do not support elm_object_item_part_text_set.\n"
3671 "Use normal genlist/gengrid text_get callback model.");
3672}
3673
3674static void
3675_item_disable_hook(Elm_Object_Item *it) 3647_item_disable_hook(Elm_Object_Item *it)
3676{ 3648{
3677 Eina_List *l; 3649 Eina_List *l;
@@ -3760,10 +3732,7 @@ _elm_genlist_item_new(Widget_Data *wd,
3760 it->func.func = func; 3732 it->func.func = func;
3761 it->func.data = func_data; 3733 it->func.data = func_data;
3762 elm_widget_item_content_get_hook_set(it, _item_content_get_hook); 3734 elm_widget_item_content_get_hook_set(it, _item_content_get_hook);
3763 elm_widget_item_content_set_hook_set(it, _item_content_set_hook);
3764 elm_widget_item_content_unset_hook_set(it, _item_content_unset_hook);
3765 elm_widget_item_text_get_hook_set(it, _item_text_get_hook); 3735 elm_widget_item_text_get_hook_set(it, _item_text_get_hook);
3766 elm_widget_item_text_set_hook_set(it, _item_text_set_hook);
3767 elm_widget_item_disable_hook_set(it, _item_disable_hook); 3736 elm_widget_item_disable_hook_set(it, _item_disable_hook);
3768 elm_widget_item_del_pre_hook_set(it, _item_del_pre_hook); 3737 elm_widget_item_del_pre_hook_set(it, _item_del_pre_hook);
3769 elm_widget_item_signal_emit_hook_set(it, _item_signal_emit_hook); 3738 elm_widget_item_signal_emit_hook_set(it, _item_signal_emit_hook);