libpurple/tests/check_libpurple.c

changeset 18425
22c031a361b0
parent 16594
d7ba74322ca4
child 21919
9be7eb0e891c
equal deleted inserted replaced
18420:fd3ec9457e27 18425:22c031a361b0
18 return 0; 18 return 0;
19 } 19 }
20 20
21 static PurpleEventLoopUiOps eventloop_ui_ops = { 21 static PurpleEventLoopUiOps eventloop_ui_ops = {
22 g_timeout_add, 22 g_timeout_add,
23 (guint (*)(guint))g_source_remove, 23 g_source_remove,
24 purple_check_input_add, 24 purple_check_input_add,
25 (guint (*)(guint))g_source_remove, 25 g_source_remove,
26 NULL, /* input_get_error */
27 #if GLIB_CHECK_VERSION(2,14,0)
28 g_timeout_add_seconds,
29 #else
30 NULL,
31 #endif
32 NULL,
33 NULL,
26 NULL 34 NULL
27 }; 35 };
28 36
29 static void 37 static void
30 purple_check_init(void) { 38 purple_check_init(void) {

mercurial