summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLucas De Marchi <lucas.demarchi@profusion.mobi>2010-07-08 00:56:28 +0000
committerLucas De Marchi <lucas.demarchi@profusion.mobi>2010-07-08 00:56:28 +0000
commite12e36e0cd7ea3a84e66007cd0b1649b3ee6b605 (patch)
treed771d8e5ef57f0b5054e0a9d326815e4aeeb336c
parente052256c9a043e4db07201581105d330f6efd4a2 (diff)
Fixes for Ecore Api changes
Patch automatically by Coccinelle to fix the callbacks used by the following functions: * ecore_event_handler_add() * ecore_event_filter_add() * ecore_idler_add() * ecore_idle_enterer_add() * ecore_idle_enterer_before_add() * ecore_idle_exiter_add() * ecore_main_fd_handler_add() * ecore_main_win32_handler_add() * ecore_timer_add() * ecore_timer_loop_add() * ecore_animator_add() * ecore_poller_add() SVN revision: 50107
-rw-r--r--src/bin/main.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/bin/main.c b/src/bin/main.c
index 54af83a..517c2ba 100644
--- a/src/bin/main.c
+++ b/src/bin/main.c
@@ -2,8 +2,8 @@
2 2
3static void args_parse(void); 3static void args_parse(void);
4static void help_show(void); 4static void help_show(void);
5static int signal_exit(void *data, int ev_type, void *ev); 5static Eina_Bool signal_exit(void *data, int ev_type, void *ev);
6static int thumb_grab(void *data); 6static Eina_Bool thumb_grab(void *data);
7 7
8Ecore_Evas *ee = NULL, *ee_im = NULL, *ee_im2 = NULL; 8Ecore_Evas *ee = NULL, *ee_im = NULL, *ee_im2 = NULL;
9Evas *evas = NULL, *evas_im = NULL, *evas_im2 = NULL; 9Evas *evas = NULL, *evas_im = NULL, *evas_im2 = NULL;
@@ -382,14 +382,14 @@ help_show(void)
382 ); 382 );
383} 383}
384 384
385static int 385static Eina_Bool
386signal_exit(void *data, int ev_type, void *ev) 386signal_exit(void *data, int ev_type, void *ev)
387{ 387{
388 ecore_main_loop_quit(); 388 ecore_main_loop_quit();
389 return 1; 389 return EINA_TRUE;
390} 390}
391 391
392static int 392static Eina_Bool
393thumb_grab(void *data) 393thumb_grab(void *data)
394{ 394{
395 char buf[4096]; 395 char buf[4096];
@@ -402,5 +402,5 @@ thumb_grab(void *data)
402 exit(-1); 402 exit(-1);
403 } 403 }
404 ecore_main_loop_quit(); 404 ecore_main_loop_quit();
405 return 0; 405 return EINA_FALSE;
406} 406}