diff options
Diffstat (limited to 'src/devices/nm-device-tun.c')
-rw-r--r-- | src/devices/nm-device-tun.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/devices/nm-device-tun.c b/src/devices/nm-device-tun.c index 81442274a0..3d862f93da 100644 --- a/src/devices/nm-device-tun.c +++ b/src/devices/nm-device-tun.c @@ -30,7 +30,7 @@ #include "nm-platform.h" #include "nm-device-factory.h" -#include "nm-device-tun-glue.h" +#include "nmdbus-device-tun.h" #include "nm-device-logging.h" _LOG_DECLARE_SELF(NMDeviceTun); @@ -258,9 +258,9 @@ nm_device_tun_class_init (NMDeviceTunClass *klass) FALSE, G_PARAM_READABLE | G_PARAM_STATIC_STRINGS)); - nm_dbus_manager_register_exported_type (nm_dbus_manager_get (), - G_TYPE_FROM_CLASS (klass), - &dbus_glib_nm_device_tun_object_info); + nm_object_class_add_interface (NM_OBJECT_CLASS (klass), + NMDBUS_TYPE_DEVICE_TUN, + NULL); } |