From: raster Date: Mon, 23 May 2011 01:24:43 +0000 (+0000) Subject: dont add to win resize objs if alread one X-Git-Tag: REL_F_I9500_20120323_1~17^2~2715 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=486237083bc1fd3e476ce51d270e33eb01e82985;p=framework%2Fuifw%2Felementary.git dont add to win resize objs if alread one git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@59605 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/src/lib/elm_win.c b/src/lib/elm_win.c index 1fcff8d..48a65f4 100644 --- a/src/lib/elm_win.c +++ b/src/lib/elm_win.c @@ -1596,6 +1596,7 @@ elm_win_resize_object_add(Evas_Object *obj, Evas_Object *subobj) ELM_CHECK_WIDTYPE(obj, widtype); win = elm_widget_data_get(obj); if (!win) return; + if (eina_list_data_find(win->subobjs, subobj)) return; win->subobjs = eina_list_append(win->subobjs, subobj); elm_widget_sub_object_add(obj, subobj); evas_object_event_callback_add(subobj, EVAS_CALLBACK_DEL,