summaryrefslogtreecommitdiffstats
path: root/daemon/main.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2007-01-12 00:37:42 +0000
committerMarcel Holtmann <marcel@holtmann.org>2007-01-12 00:37:42 +0000
commitc97480f11bdfdc3cbb867b8127074bcb6b047024 (patch)
tree885dff3c4d9f46567af438af0e266acdc932f281 /daemon/main.c
parentb6f6c5cf2f85f27b277b891acf0a22c4a068bbbe (diff)
Allow compilation against GLib
Diffstat (limited to 'daemon/main.c')
-rw-r--r--daemon/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/daemon/main.c b/daemon/main.c
index a534cdb0..ef8ae67a 100644
--- a/daemon/main.c
+++ b/daemon/main.c
@@ -108,11 +108,11 @@ int main(int argc, char *argv[])
enable_debug();
- event_loop = g_main_new(FALSE);
+ event_loop = g_main_loop_new(NULL, FALSE);
g_main_run(event_loop);
- g_main_unref(event_loop);
+ g_main_loop_unref(event_loop);
info("Exit");