summaryrefslogtreecommitdiff
path: root/src/examples/notify_example_01.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/examples/notify_example_01.c')
-rw-r--r--src/examples/notify_example_01.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/examples/notify_example_01.c b/src/examples/notify_example_01.c
index 98f41c4..33c4b78 100644
--- a/src/examples/notify_example_01.c
+++ b/src/examples/notify_example_01.c
@@ -1,5 +1,5 @@
1//Compile with: 1//Compile with:
2//gcc -g `pkg-config --cflags --libs elementary` notify_example_01.c -o notify_example_01 2//gcc -o notify_example_01 notify_example_01.c -g `pkg-config --cflags --libs elementary`
3 3
4#include <Elementary.h> 4#include <Elementary.h>
5#ifdef HAVE_CONFIG_H 5#ifdef HAVE_CONFIG_H
@@ -19,6 +19,7 @@ elm_main(int argc, char **argv)
19 elm_policy_set(ELM_POLICY_QUIT, ELM_POLICY_QUIT_LAST_WINDOW_CLOSED); 19 elm_policy_set(ELM_POLICY_QUIT, ELM_POLICY_QUIT_LAST_WINDOW_CLOSED);
20 20
21 bg = elm_bg_add(win); 21 bg = elm_bg_add(win);
22 evas_object_size_hint_weight_set(bg, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
22 elm_win_resize_object_add(win, bg); 23 elm_win_resize_object_add(win, bg);
23 evas_object_show(bg); 24 evas_object_show(bg);
24 25