Fix disconnect callback declaration
authorMarcel Holtmann <marcel@holtmann.org>
Fri, 17 Oct 2008 17:29:35 +0000 (19:29 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Fri, 17 Oct 2008 17:29:35 +0000 (19:29 +0200)
src/main.c

index 87efa00..104c5cc 100644 (file)
@@ -43,7 +43,7 @@ static void sig_term(int sig)
        g_main_loop_quit(main_loop);
 }
 
-static void disconnect_callback(void *user_data)
+static void disconnect_callback(DBusConnection *conn, void *user_data)
 {
        DBG("D-Bus disconnect");