summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2015-08-11 13:35:02 +0200
committerThomas Haller <thaller@redhat.com>2015-08-12 14:33:38 +0200
commit83956348d7e6b3ffaa69a5a7978d3d8fb0b9c058 (patch)
treef6a627f8338ba20dbed05b58254a3ca6bd72c0be
parent1bbf61bd2c9d032757802b7b2986919b939e2a68 (diff)
downloadNetworkManager-th/singleton-cleanup-bgo753519.tar.gz
device: log message when constructing NMDevice instanceth/singleton-cleanup-bgo753519
-rw-r--r--src/devices/nm-device.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/devices/nm-device.c b/src/devices/nm-device.c
index f3cb0424cd..d7b00d3eca 100644
--- a/src/devices/nm-device.c
+++ b/src/devices/nm-device.c
@@ -9102,6 +9102,8 @@ constructed (GObject *object)
}
G_OBJECT_CLASS (nm_device_parent_class)->constructed (object);
+
+ _LOGD (LOGD_DEVICE, "constructed (%s)", G_OBJECT_TYPE_NAME (self));
}
static void
@@ -9111,7 +9113,7 @@ dispose (GObject *object)
NMDevicePrivate *priv = NM_DEVICE_GET_PRIVATE (self);
NMPlatform *platform;
- _LOGD (LOGD_DEVICE, "dispose(): %s", G_OBJECT_TYPE_NAME (self));
+ _LOGD (LOGD_DEVICE, "disposing");
g_signal_handlers_disconnect_by_func (nm_config_get (), config_changed_update_ignore_carrier, self);