summaryrefslogtreecommitdiff
path: root/src/examples/ecore/ecore_poller_example.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/examples/ecore/ecore_poller_example.c')
-rw-r--r--src/examples/ecore/ecore_poller_example.c11
1 files changed, 4 insertions, 7 deletions
diff --git a/src/examples/ecore/ecore_poller_example.c b/src/examples/ecore/ecore_poller_example.c
index c3d8f69..e60c20a 100644
--- a/src/examples/ecore/ecore_poller_example.c
+++ b/src/examples/ecore/ecore_poller_example.c
@@ -48,12 +48,9 @@ main(void)
48 poller2 = ecore_poller_add(ECORE_POLLER_CORE, 8, _poller_print_cb, str2); 48 poller2 = ecore_poller_add(ECORE_POLLER_CORE, 8, _poller_print_cb, str2);
49 poller3 = ecore_poller_add(ECORE_POLLER_CORE, 30, _poller_quit_cb, str3); 49 poller3 = ecore_poller_add(ECORE_POLLER_CORE, 30, _poller_quit_cb, str3);
50 50
51// poller1 = eo_add(ECORE_POLLER_CLASS, NULL, 51// poller1 = eo_add(ECORE_POLLER_CLASS, NULL, // ecore_poller_constructor(eoid, ECORE_POLLER_CORE, 4, _poller_print_cb, str1));
52// ecore_poller_constructor(ECORE_POLLER_CORE, 4, _poller_print_cb, str1)); 52// poller2 = eo_add(ECORE_POLLER_CLASS, NULL, // ecore_poller_constructor(eoid, ECORE_POLLER_CORE, 8, _poller_print_cb, str2));
53// poller2 = eo_add(ECORE_POLLER_CLASS, NULL, 53// poller3 = eo_add(ECORE_POLLER_CLASS, NULL, // ecore_poller_constructor(eoid, ECORE_POLLER_CORE, 20, _poller_quit_cb, str3));
54// ecore_poller_constructor(ECORE_POLLER_CORE, 8, _poller_print_cb, str2));
55// poller3 = eo_add(ECORE_POLLER_CLASS, NULL,
56// ecore_poller_constructor(ECORE_POLLER_CORE, 20, _poller_quit_cb, str3));
57 54
58 55
59 ecore_main_loop_begin(); 56 ecore_main_loop_begin();
@@ -61,7 +58,7 @@ main(void)
61 printf("changing poller2 interval to 16\n"); 58 printf("changing poller2 interval to 16\n");
62 59
63 ecore_poller_poller_interval_set(poller2, 16); 60 ecore_poller_poller_interval_set(poller2, 16);
64// eo_do(poller2, ecore_poller_interval_set(16, NULL)); 61// ecore_poller_interval_set(poller2, 16, NULL);
65 ecore_main_loop_begin(); 62 ecore_main_loop_begin();
66 63
67// eo_unref(poller1); 64// eo_unref(poller1);