summaryrefslogtreecommitdiff
path: root/src/lib/elm_separator.c
diff options
context:
space:
mode:
authorGustavo Lima Chaves <glima@profusion.mobi>2013-03-01 23:04:31 -0300
committerGustavo Lima Chaves <glima@profusion.mobi>2013-03-01 23:04:31 -0300
commit07523ed88a6d0d8d8adee6105c3bdb09e931ce29 (patch)
treeced6dd0dfe7a2ba8fc3d89db037b9f06082abaa2 /src/lib/elm_separator.c
parent0d6443dfaeb4612196e87ec6445a20d0328e2336 (diff)
downloadelementary-07523ed88a6d0d8d8adee6105c3bdb09e931ce29.tar.gz
An internal layout error, on a widget set, is a CRITICAL error.
Diffstat (limited to 'src/lib/elm_separator.c')
-rw-r--r--src/lib/elm_separator.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/elm_separator.c b/src/lib/elm_separator.c
index 2fabf5a4f..3acd509d5 100644
--- a/src/lib/elm_separator.c
+++ b/src/lib/elm_separator.c
@@ -50,8 +50,9 @@ _elm_separator_smart_add(Eo *obj, void *_pd __UNUSED__,
elm_widget_can_focus_set(obj, EINA_FALSE);
- elm_layout_theme_set
- (obj, "separator", "vertical", elm_widget_style_get(obj));
+ if (!elm_layout_theme_set
+ (obj, "separator", "vertical", elm_widget_style_get(obj)))
+ CRITICAL("Failed to set layout!");
elm_layout_sizing_eval(obj);
}