From: glima Date: Mon, 12 Mar 2012 13:58:19 +0000 (+0000) Subject: [Elm] No reason to call theming on !elm object. X-Git-Tag: REL_F_I9500_20120323_1~17^2~71 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fcb1339bd0be06c9c9c33fe1b0ecb695630884db;p=framework%2Fuifw%2Felementary.git [Elm] No reason to call theming on !elm object. git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@69249 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/src/lib/elm_widget.c b/src/lib/elm_widget.c index 2eb2d48..0e9a083 100644 --- a/src/lib/elm_widget.c +++ b/src/lib/elm_widget.c @@ -666,7 +666,8 @@ elm_widget_theme(Evas_Object *obj) API_ENTRY return EINA_FALSE; EINA_LIST_FOREACH(sd->subobjs, l, child) ret &= elm_widget_theme(child); - if (sd->resize_obj) ret &= elm_widget_theme(sd->resize_obj); + if (sd->resize_obj && _elm_widget_is(sd->resize_obj)) + ret &= elm_widget_theme(sd->resize_obj); if (sd->hover_obj) ret &= elm_widget_theme(sd->hover_obj); EINA_LIST_FOREACH(sd->tooltips, l, tt) elm_tooltip_theme(tt); EINA_LIST_FOREACH(sd->cursors, l, cur) elm_cursor_theme(cur);