summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorJon Bergli Heier <snakebite@jvnv.net>2010-08-23 18:36:29 +0200
committerJon Bergli Heier <snakebite@jvnv.net>2010-08-23 18:36:29 +0200
commitd295f0a4cbc5f96b0aa65a3d005f98bc31511068 (patch)
tree8057c0b98d5186bc17e8887002d3f65808cc5d59 /main.c
parent0baaa8c068f57e44efffa7c1f6806faefdd655e4 (diff)
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.
Diffstat (limited to 'main.c')
-rw-r--r--main.c3
1 files changed, 3 insertions, 0 deletions
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);