summaryrefslogtreecommitdiff
path: root/src/dkp-main.c
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2008-12-09 11:05:59 +0000
committerRichard Hughes <richard@hughsie.com>2008-12-09 11:05:59 +0000
commit43f1ae266895561114c7f68c87f47f9474643ba8 (patch)
tree2f27d7ab4e218ec8102c3331497542782a865bcb /src/dkp-main.c
parent0c0c7fd5a48434bfe4af96de1126ff7d4b6b6bb5 (diff)
trivial: fix the introspection warning and the startup verbage
Diffstat (limited to 'src/dkp-main.c')
-rw-r--r--src/dkp-main.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/dkp-main.c b/src/dkp-main.c
index 5f47f5c..1d64b66 100644
--- a/src/dkp-main.c
+++ b/src/dkp-main.c
@@ -45,7 +45,6 @@
#include "dkp-daemon.h"
#include "dkp-qos.h"
-#include "dkp-qos-glue.h"
#define NAME_TO_CLAIM "org.freedesktop.DeviceKit.Power"
static GMainLoop *loop = NULL;
@@ -126,7 +125,6 @@ main (int argc, char **argv)
DBusGProxy *bus_proxy;
DBusGConnection *bus;
gboolean verbose = FALSE;
- DBusGConnection *connection;
int ret = 1;
const GOptionEntry entries[] = {
@@ -173,11 +171,6 @@ main (int argc, char **argv)
if (daemon == NULL)
goto out;
- /* register on the bus */
- connection = dbus_g_bus_get (DBUS_BUS_SYSTEM, NULL);
- dbus_g_object_type_install_info (DKP_TYPE_QOS, &dbus_glib_dkp_qos_object_info);
- dbus_g_connection_register_g_object (connection, "/org/freedesktop/DeviceKit/Power/QoS", G_OBJECT (qos));
-
loop = g_main_loop_new (NULL, FALSE);
g_main_loop_run (loop);