summaryrefslogtreecommitdiff
path: root/src/examples/notify_example_01.c
diff options
context:
space:
mode:
authorJoão Paulo Fernandes Ventura <ventura@profusion.mobi>2012-03-19 12:58:07 +0000
committerJonas M. Gastal <jgastal@profusion.mobi>2012-03-19 12:58:07 +0000
commit1c17076655d04160c3cd572c42232ee9329320ba (patch)
tree394cca2904e3bcac4d3e0c2308b54f2dc2a659c5 /src/examples/notify_example_01.c
parentef3546ec9a095fae11bca1f52a568784b7b5fd3a (diff)
Fixing bugs in examples.
Patch by: João Paulo Fernandes Ventura<ventura@profusion.mobi> SVN revision: 69507
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