From 31463143e044b924ae4004741c0963573847ffe4 Mon Sep 17 00:00:00 2001 From: Carsten Haitzler Date: Wed, 20 Jul 2011 07:25:36 +0000 Subject: [PATCH] dont set edje theme obj if elements are null. SVN revision: 61517 --- legacy/elementary/src/lib/elm_theme.c | 1 + 1 file changed, 1 insertion(+) diff --git a/legacy/elementary/src/lib/elm_theme.c b/legacy/elementary/src/lib/elm_theme.c index a8f4b26a31..cbb1023062 100644 --- a/legacy/elementary/src/lib/elm_theme.c +++ b/legacy/elementary/src/lib/elm_theme.c @@ -139,6 +139,7 @@ _elm_theme_set(Elm_Theme *th, Evas_Object *o, const char *clas, const char *grou char buf2[1024]; Eina_Bool ok; + if ((!clas) || (!group) || (!style)) return EINA_FALSE; if (!th) th = &(theme_default); snprintf(buf2, sizeof(buf2), "elm/%s/%s/%s", clas, group, style); file = _elm_theme_group_file_find(th, buf2);