summaryrefslogtreecommitdiff
path: root/src/examples/calendar_example_06.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/calendar_example_06.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/calendar_example_06.c')
-rw-r--r--src/examples/calendar_example_06.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/examples/calendar_example_06.c b/src/examples/calendar_example_06.c
index 7a4cc1e..1cd5a85 100644
--- a/src/examples/calendar_example_06.c
+++ b/src/examples/calendar_example_06.c
@@ -4,7 +4,7 @@
4 * See stdout/stderr for output. Compile with: 4 * See stdout/stderr for output. Compile with:
5 * 5 *
6 * @verbatim 6 * @verbatim
7 * gcc -g `pkg-config --cflags --libs elementary` calendar_example_06.c -o calendar_example_06 7 * gcc -o calendar_example_06 calendar_example_06.c -g `pkg-config --cflags --libs elementary`
8 * @endverbatim 8 * @endverbatim
9 */ 9 */
10 10
@@ -43,6 +43,7 @@ elm_main(int argc __UNUSED__, char **argv __UNUSED__)
43 win = elm_win_add(NULL, "calendar", ELM_WIN_BASIC); 43 win = elm_win_add(NULL, "calendar", ELM_WIN_BASIC);
44 elm_win_title_set(win, "Calendar Marks Example"); 44 elm_win_title_set(win, "Calendar Marks Example");
45 elm_win_autodel_set(win, EINA_TRUE); 45 elm_win_autodel_set(win, EINA_TRUE);
46 elm_policy_set(ELM_POLICY_QUIT, ELM_POLICY_QUIT_LAST_WINDOW_CLOSED);
46 47
47 bg = elm_bg_add(win); 48 bg = elm_bg_add(win);
48 elm_win_resize_object_add(win, bg); 49 elm_win_resize_object_add(win, bg);