summaryrefslogtreecommitdiff
path: root/libnm/nm-device-tun.c
diff options
context:
space:
mode:
Diffstat (limited to 'libnm/nm-device-tun.c')
-rw-r--r--libnm/nm-device-tun.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/libnm/nm-device-tun.c b/libnm/nm-device-tun.c
index 52ba8fd7da..2c88bf3393 100644
--- a/libnm/nm-device-tun.c
+++ b/libnm/nm-device-tun.c
@@ -28,7 +28,6 @@
#include "nm-utils.h"
#include "nm-device-tun.h"
-#include "nm-device-private.h"
#include "nm-object-private.h"
G_DEFINE_TYPE (NMDeviceTun, nm_device_tun, NM_TYPE_DEVICE)
@@ -239,7 +238,6 @@ get_hw_address (NMDevice *device)
static void
nm_device_tun_init (NMDeviceTun *device)
{
- _nm_device_set_device_type (NM_DEVICE (device), NM_DEVICE_TYPE_TUN);
}
static void
@@ -320,8 +318,6 @@ nm_device_tun_class_init (NMDeviceTunClass *gre_class)
g_type_class_add_private (gre_class, sizeof (NMDeviceTunPrivate));
- _nm_object_class_add_interface (nm_object_class, NM_DBUS_INTERFACE_DEVICE_TUN);
-
/* virtual methods */
object_class->finalize = finalize;
object_class->get_property = get_property;