stefan pushed a commit to branch master.

http://git.enlightenment.org/core/elementary.git/commit/?id=5e92f2389d9765593d8fdc4ef3224d430c42bb1f

commit 5e92f2389d9765593d8fdc4ef3224d430c42bb1f
Author: Stefan Schmidt <ste...@osg.samsung.com>
Date:   Mon Aug 17 13:32:14 2015 +0200

    multibuttonentry: check return value from elm_layout_theme_set
    
    CID: 1294253
---
 src/lib/elc_multibuttonentry.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/lib/elc_multibuttonentry.c b/src/lib/elc_multibuttonentry.c
index f8558a3..924dd9d 100644
--- a/src/lib/elc_multibuttonentry.c
+++ b/src/lib/elc_multibuttonentry.c
@@ -92,8 +92,9 @@ _elm_multibuttonentry_elm_widget_theme_apply(Eo *obj, 
Elm_Multibuttonentry_Data
      {
         ELM_MULTIBUTTONENTRY_ITEM_DATA_GET(eo_item, item);
         if (VIEW(item))
-          elm_layout_theme_set
-            (VIEW(item), "multibuttonentry", "btn", elm_widget_style_get(obj));
+          if (!elm_layout_theme_set
+              (VIEW(item), "multibuttonentry", "btn", 
elm_widget_style_get(obj)))
+            CRI("Failed to set layout!");
      }
 
    elm_widget_theme_object_set

-- 


Reply via email to