diff options
Diffstat (limited to 'libindicate/tests/listen-and-print.c')
-rw-r--r-- | libindicate/tests/listen-and-print.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/libindicate/tests/listen-and-print.c b/libindicate/tests/listen-and-print.c new file mode 100644 index 0000000..772e4f1 --- /dev/null +++ b/libindicate/tests/listen-and-print.c @@ -0,0 +1,16 @@ + +#include <glib.h> +#include "libindicate/listener.h" + + +int +main (int argc, char ** argv) +{ + g_type_init(); + + IndicateListener * listener = indicate_listener_new(); + + g_main_loop_run(g_main_loop_new(NULL, FALSE)); + + return 0; +} |