summaryrefslogtreecommitdiffstats
path: root/daemon/main.c
diff options
context:
space:
mode:
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");