From: discomfitor Date: Sun, 6 Nov 2011 15:19:12 +0000 (+0000) Subject: properly set content hooks in genlist/gengrid... X-Git-Tag: REL_F_I9500_20120323_1~17^2~1385 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a4657ba03def2e150fe0929105e67169a05a2ccc;p=framework%2Fuifw%2Felementary.git properly set content hooks in genlist/gengrid... git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@64825 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/src/lib/elm_gen.c b/src/lib/elm_gen.c index cd1faaa..3ebd66d 100644 --- a/src/lib/elm_gen.c +++ b/src/lib/elm_gen.c @@ -432,6 +432,9 @@ elm_gen_item_new(Widget_Data *wd, it->parent = parent; it->func.func = func; it->func.data = func_data; + elm_widget_item_content_get_hook_set(it, edje_object_part_swallow_get); + elm_widget_item_content_set_hook_set(it, edje_object_part_swallow); + elm_widget_item_content_unset_hook_set(it, edje_object_part_unswallow); /* TEMPORARY */ it->sel_cb = (Ecore_Cb)_item_select;