From d295f0a4cbc5f96b0aa65a3d005f98bc31511068 Mon Sep 17 00:00:00 2001 From: Jon Bergli Heier Date: Mon, 23 Aug 2010 18:36:29 +0200 Subject: Implemented a communication event source for the main loop. This source will deal with communication between servers. More to be added and cleaned up soon. --- main.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'main.c') diff --git a/main.c b/main.c index 1697c6a..0e846d7 100644 --- a/main.c +++ b/main.c @@ -35,6 +35,9 @@ int main(int argc, char **argv) { signal(SIGINT, sig_handler); main_loop = g_main_loop_new(NULL, FALSE); + + communication_source_init(main_loop); + g_main_loop_run(main_loop); g_main_loop_unref(main_loop); -- cgit v1.2.3