From 486237083bc1fd3e476ce51d270e33eb01e82985 Mon Sep 17 00:00:00 2001 From: raster Date: Mon, 23 May 2011 01:24:43 +0000 Subject: [PATCH] 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 --- src/lib/elm_win.c | 1 + 1 file changed, 1 insertion(+) 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, -- 2.7.4