_content_unset_hook.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@69861
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
if (!wd->icon) return NULL;
Evas_Object *icon = wd->icon;
elm_widget_sub_object_del(obj, wd->icon);
if (!wd->icon) return NULL;
Evas_Object *icon = wd->icon;
elm_widget_sub_object_del(obj, wd->icon);
- evas_object_event_callback_del_full(wd->icon, EVAS_CALLBACK_CHANGED_SIZE_HINTS,
- _changed_size_hints, obj);
- edje_object_part_unswallow(wd->btn, wd->icon);
- wd->icon = NULL;
+ edje_object_part_unswallow(wd->btn, icon);