Project description.
[connman] / src / agent.c
index b7db03c..5ae62b2 100644 (file)
@@ -2,7 +2,7 @@
  *
  *  Connection Manager
  *
- *  Copyright (C) 2007  Intel Corporation. All rights reserved.
+ *  Copyright (C) 2007-2009  Intel Corporation. All rights reserved.
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License version 2 as
@@ -47,13 +47,11 @@ static void agent_free(void)
        agent_path = NULL;
 }
 
-static gboolean agent_disconnect(void *data)
+static void agent_disconnect(DBusConnection *connection, void *data)
 {
        DBG("data %p", data);
 
        agent_free();
-
-       return TRUE;
 }
 
 int __connman_agent_register(const char *sender, const char *path)