summaryrefslogtreecommitdiff
path: root/libnm/nm-object.h
diff options
context:
space:
mode:
Diffstat (limited to 'libnm/nm-object.h')
-rw-r--r--libnm/nm-object.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/libnm/nm-object.h b/libnm/nm-object.h
index 314313402a..467b391d23 100644
--- a/libnm/nm-object.h
+++ b/libnm/nm-object.h
@@ -26,9 +26,7 @@
#error "Only <NetworkManager.h> can be included directly."
#endif
-#include <glib.h>
-#include <glib-object.h>
-#include <dbus/dbus-glib.h>
+#include <gio/gio.h>
#include <nm-version.h>
@@ -85,7 +83,7 @@ typedef struct {
GType nm_object_get_type (void);
-DBusGConnection *nm_object_get_connection (NMObject *object);
+GDBusConnection *nm_object_get_connection (NMObject *object);
const char *nm_object_get_path (NMObject *object);
G_END_DECLS