summaryrefslogtreecommitdiff
path: root/src/examples/calendar_example_02.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_02.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_02.c')
-rw-r--r--src/examples/calendar_example_02.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/examples/calendar_example_02.c b/src/examples/calendar_example_02.c
index f16743b..0a0085b 100644
--- a/src/examples/calendar_example_02.c
+++ b/src/examples/calendar_example_02.c
@@ -6,7 +6,7 @@
6 * See stdout/stderr for output. Compile with: 6 * See stdout/stderr for output. Compile with:
7 * 7 *
8 * @verbatim 8 * @verbatim
9 * gcc -g `pkg-config --cflags --libs elementary` calendar_example_02.c -o calendar_example_02 9 * gcc -o calendar_example_02 calendar_example_02.c -g `pkg-config --cflags --libs elementary`
10 * @endverbatim 10 * @endverbatim
11 */ 11 */
12 12
@@ -38,6 +38,7 @@ elm_main(int argc __UNUSED__, char **argv __UNUSED__)
38 win = elm_win_add(NULL, "calendar", ELM_WIN_BASIC); 38 win = elm_win_add(NULL, "calendar", ELM_WIN_BASIC);
39 elm_win_title_set(win, "Calendar Layout Formatting Example"); 39 elm_win_title_set(win, "Calendar Layout Formatting Example");
40 elm_win_autodel_set(win, EINA_TRUE); 40 elm_win_autodel_set(win, EINA_TRUE);
41 elm_policy_set(ELM_POLICY_QUIT, ELM_POLICY_QUIT_LAST_WINDOW_CLOSED);
41 42
42 bg = elm_bg_add(win); 43 bg = elm_bg_add(win);
43 elm_win_resize_object_add(win, bg); 44 elm_win_resize_object_add(win, bg);