From 0bb82307d8892fc759b428a4c58a9887fe2f2d8f Mon Sep 17 00:00:00 2001 From: Christopher Michael Date: Mon, 16 Jul 2007 00:50:50 +0000 Subject: [PATCH] Added trap for NULL sd->obj. Ref: Bug #92. SVN revision: 30837 --- src/bin/e_icon.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/bin/e_icon.c b/src/bin/e_icon.c index 6b95166b6..fdd2fad4f 100644 --- a/src/bin/e_icon.c +++ b/src/bin/e_icon.c @@ -222,6 +222,7 @@ _e_icon_smart_reconfigure(E_Smart_Data *sd) int iw, ih; Evas_Coord x, y, w, h; + if (!sd->obj) return; if (!strcmp(evas_object_type_get(sd->obj), "edje")) { w = sd->w;