summaryrefslogtreecommitdiff
path: root/src/examples/notify_example_01.c
diff options
context:
space:
mode:
authorGustavo Lima Chaves <glima@profusion.mobi>2012-11-06 19:54:16 +0000
committerGustavo Lima Chaves <glima@profusion.mobi>2012-11-06 19:54:16 +0000
commit3d47e941e7dfb904d4c2af5b57826bd152a5dd79 (patch)
treebdc4dcb9caa2f9ed417b228ad05fd5a763d21af0 /src/examples/notify_example_01.c
parent4d2b17ff386e36016fc39ebebf4629873447f42e (diff)
[elm] Account for elm_object_orient_set() deprecation
along elm files. Spankies to Hermet for not doing it/delegating it before :) SVN revision: 78948
Diffstat (limited to 'src/examples/notify_example_01.c')
-rw-r--r--src/examples/notify_example_01.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/examples/notify_example_01.c b/src/examples/notify_example_01.c
index 4082e39..3e7fcc4 100644
--- a/src/examples/notify_example_01.c
+++ b/src/examples/notify_example_01.c
@@ -38,7 +38,7 @@ elm_main(int argc, char **argv)
38 evas_object_show(content); 38 evas_object_show(content);
39 39
40 notify = elm_notify_add(win); 40 notify = elm_notify_add(win);
41 elm_notify_orient_set(notify, ELM_NOTIFY_ORIENT_BOTTOM); 41 elm_notify_align_set(notify, 0.5, 1.0);
42 elm_object_content_set(notify, content); 42 elm_object_content_set(notify, content);
43 evas_object_size_hint_weight_set(notify, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); 43 evas_object_size_hint_weight_set(notify, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
44 evas_object_show(notify); 44 evas_object_show(notify);
@@ -49,7 +49,7 @@ elm_main(int argc, char **argv)
49 evas_object_show(content); 49 evas_object_show(content);
50 50
51 notify = elm_notify_add(win); 51 notify = elm_notify_add(win);
52 elm_notify_orient_set(notify, ELM_NOTIFY_ORIENT_CENTER); 52 elm_notify_align_set(notify, 0.5, 0,5);
53 elm_object_content_set(notify, content); 53 elm_object_content_set(notify, content);
54 evas_object_size_hint_weight_set(notify, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); 54 evas_object_size_hint_weight_set(notify, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
55 evas_object_show(notify); 55 evas_object_show(notify);