From c7e693adb6ad4694980651f6905058c5131017e0 Mon Sep 17 00:00:00 2001 From: ChunEon Park Date: Fri, 18 Mar 2011 06:36:39 +0000 Subject: [PATCH] elementary/ctxpopup - fixed a minor error added exception for the null icon set. SVN revision: 57842 --- legacy/elementary/src/lib/elc_ctxpopup.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/legacy/elementary/src/lib/elc_ctxpopup.c b/legacy/elementary/src/lib/elc_ctxpopup.c index 156e99eabf..24b46205f2 100644 --- a/legacy/elementary/src/lib/elc_ctxpopup.c +++ b/legacy/elementary/src/lib/elc_ctxpopup.c @@ -824,6 +824,8 @@ _item_icon_set(Elm_Ctxpopup_Item *item, Evas_Object *icon) } item->icon = icon; + if (!icon) return; + edje_object_part_swallow(item->base.view, "elm.swallow.icon", item->icon); edje_object_message_signal_process(item->base.view); }