3 * gcc -g -Wall `pkg-config --cflags --libs ecore` -o ecore_event_example ecore_event_example.c
9 _quitter(void *data, int ev_type, void *event)
11 printf("Leaving already?\n");
12 ecore_main_loop_quit();
13 return ECORE_CALLBACK_DONE;
17 main(int argc, char **argv)
21 ecore_event_handler_add(ECORE_EVENT_SIGNAL_EXIT, _quitter, NULL);
22 ecore_main_loop_begin();