projects
/
platform
/
upstream
/
elementary.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e7b5e0
)
dont add to win resize objs if alread one
author
Carsten Haitzler
<raster@rasterman.com>
Mon, 23 May 2011 01:24:43 +0000
(
01:24
+0000)
committer
Carsten Haitzler
<raster@rasterman.com>
Mon, 23 May 2011 01:24:43 +0000
(
01:24
+0000)
SVN revision: 59605
src/lib/elm_win.c
patch
|
blob
|
history
diff --git
a/src/lib/elm_win.c
b/src/lib/elm_win.c
index
1fcff8d
..
48a65f4
100644
(file)
--- 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,