summaryrefslogtreecommitdiff
path: root/doc
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 /doc
parent0d6443dfaeb4612196e87ec6445a20d0328e2336 (diff)
An internal layout error, on a widget set, is a CRITICAL error.
Diffstat (limited to 'doc')
-rw-r--r--doc/widgets/widget_preview_layout.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/doc/widgets/widget_preview_layout.c b/doc/widgets/widget_preview_layout.c
index 6ad287319..301f54d00 100644
--- a/doc/widgets/widget_preview_layout.c
+++ b/doc/widgets/widget_preview_layout.c
@@ -2,7 +2,11 @@
2 2
3Evas_Object *layout = elm_layout_add(win); 3Evas_Object *layout = elm_layout_add(win);
4evas_object_size_hint_weight_set(layout, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); 4evas_object_size_hint_weight_set(layout, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
5elm_layout_theme_set(layout, "layout", "application", "toolbar-content-back-next"); 5
6if (!elm_layout_theme_set
7 (layout, "layout", "application", "toolbar-content-back-next"))
8 fprintf(stderr, "Failed to set layout!");
9
6elm_win_resize_object_add(win, layout); 10elm_win_resize_object_add(win, layout);
7evas_object_show(layout); 11evas_object_show(layout);
8 12