Blame SOURCES/0009-dbus-prop-changed-signal-source-v2-rh1371920.patch

a85faa
From 2e103ea835af58659fc25149bc4b86a1dc8135f8 Mon Sep 17 00:00:00 2001
a85faa
From: Thomas Haller <thaller@redhat.com>
a85faa
Date: Thu, 1 Sep 2016 13:00:21 +0200
a85faa
Subject: [PATCH 1/4] dbus: fix emitting D-Bus NetworkManager's old-style
a85faa
 PropertiesChange signal
a85faa
a85faa
Before switching to gdbus (before 1.2.0), NetworkManager used dbus-glib.
a85faa
Most objects in the D-Bus API with properties had a signal
a85faa
NetworkManager-specific "PropertiesChanged" signal. Nowadays, this way of
a85faa
handling of property changes is deprecated for the common "PropertiesChanged"
a85faa
signal on the "org.freedesktop.DBus.Properties" interface.
a85faa
a85faa
There were a few pecularities in 1.0.0 and earlier:
a85faa
a85faa
  (1) Due to the implementation with dbus-glib, a property-changed
a85faa
    signal was emitted on *all* interfaces. For example:
a85faa
      - a change on a NMDeviceVeth of "NMDeviceEthernet.HwAddress" would be
a85faa
        emitted both for the interfaces "fdo.NM.Device.Ethernet" and
a85faa
        "fdo.NM.Device.Veth". Note that NMDeviceVeth is derived from
a85faa
        NMDeviceEthernet and there is no "HwAddress" on veth device.
a85faa
      - a change of "NMVpnConnection.VpnState" was emitted on both
a85faa
        interfaces "fdo.NM.VPN.Connection" and "fdo.NM.Connecion.Active".
a85faa
        Note that NMActiveConnection is the parent type of NMVpnConnection and
a85faa
        only the latter has a property "VpnState".
a85faa
  (2) NMDevice's "fdo.NM.Device" interface  doesn't have a "PropertiesChanged"
a85faa
    signal. From (1) follows that all property-changes for this type were instead
a85faa
    invoked with an interface like "fdo.NM.Device.Ethernet" (or multiple
a85faa
    interfaces in case of NMDeviceVeth).
a85faa
a85faa
1.2.0 introduced gdbus, which gives us the standard "fdo.DBus.Properties"
a85faa
signal. However, it made the mistake of not realizing (1), thus instead
a85faa
of emitting the signal once for each interface, it would pick the first
a85faa
one in the inheritance tree.
a85faa
a85faa
With 1.4.0, a bug from merge commit 844345e caused signals for devices
a85faa
to be only emitted for the interface "fdo.NM.Device.Statistics", instead
a85faa
of "fdo.NM.Device.Ethernet" or "fdo.NM.Device.Veth" (or both).
a85faa
a85faa
The latter is what bgo#770629 is about and what commit 82e9439 tried to fix.
a85faa
However, the fix was wrong because it tried to do the theoretically correct
a85faa
thing of emitting the property-changed signal exactly once for the
a85faa
interface that actually ontains the property. In addition, it missed that
a85faa
NMDevice doesn't have a PropertiesChanged signal, which caused signals for
a85faa
"fdo.NM.Device" to get lost *sigh*.
a85faa
a85faa
Now, restore the (broken) behavior of 1.0.0. These old-style property changed
a85faa
signals are anyway considered deprecated and exist solely to satisfy old clients
a85faa
and preserve the old API.
a85faa
a85faa
Fixes: 63fbfad3705db5901e6a2a6a2fc332da0f0ae4be
a85faa
a85faa
https://bugzilla.gnome.org/show_bug.cgi?id=770629
a85faa
https://bugzilla.redhat.com/show_bug.cgi?id=1371920
a85faa
(cherry picked from commit bef26a2e69f51259095fa080221db73de09fd38d)
a85faa
(cherry picked from commit c29ca9b8760749ddd81b21e147c05403b9bd9561)
a85faa
---
a85faa
 src/nm-exported-object.c | 79 ++++++++++++++++++++++++++++++++++++++++--------
a85faa
 src/nm-iface-helper.c    | 14 +++++++++
a85faa
 2 files changed, 81 insertions(+), 12 deletions(-)
a85faa
a85faa
diff --git a/src/nm-exported-object.c b/src/nm-exported-object.c
a85faa
index d99a9ce..5dacb02 100644
a85faa
--- a/src/nm-exported-object.c
a85faa
+++ b/src/nm-exported-object.c
a85faa
@@ -27,6 +27,10 @@
a85faa
 
a85faa
 #include "nm-bus-manager.h"
a85faa
 
a85faa
+#include "nm-device.h"
a85faa
+#include "nm-active-connection.h"
a85faa
+#include "nmdbus-device-statistics.h"
a85faa
+
a85faa
 #if NM_MORE_ASSERTS >= 2
a85faa
 #define _ASSERT_NO_EARLY_EXPORT
a85faa
 #endif
a85faa
@@ -267,8 +271,8 @@ nm_exported_object_class_add_interface (NMExportedObjectClass *object_class,
a85faa
 		                  nm_exported_object_class_info_quark (), classinfo);
a85faa
 	}
a85faa
 
a85faa
-	classinfo->skeleton_types = g_slist_append (classinfo->skeleton_types,
a85faa
-	                                            GSIZE_TO_POINTER (dbus_skeleton_type));
a85faa
+	classinfo->skeleton_types = g_slist_prepend (classinfo->skeleton_types,
a85faa
+	                                             GSIZE_TO_POINTER (dbus_skeleton_type));
a85faa
 
a85faa
 	/* Ensure @dbus_skeleton_type's class_init has run, so its signals/properties
a85faa
 	 * will be defined.
a85faa
@@ -499,6 +503,9 @@ nm_exported_object_create_skeletons (NMExportedObject *self,
a85faa
 	}
a85faa
 	nm_assert (i == 0);
a85faa
 
a85faa
+	/* The list of interfaces priv->interfaces is to be sorted from parent-class to derived-class.
a85faa
+	 * On the other hand, if one class defines multiple interfaces, the interfaces are sorted in
a85faa
+	 * the order of calls to nm_exported_object_class_add_interface(). */
a85faa
 	if (priv->num_interfaces > 0) {
a85faa
 		memcpy (&interfaces[num_interfaces], priv->interfaces, sizeof (InterfaceData) * priv->num_interfaces);
a85faa
 		g_slice_free1 (sizeof (InterfaceData) * priv->num_interfaces, priv->interfaces);
a85faa
@@ -801,12 +808,11 @@ idle_emit_properties_changed (gpointer self)
a85faa
 		if (n == 0)
a85faa
 			continue;
a85faa
 
a85faa
-		if (!ifdata->property_changed_signal_id)
a85faa
-			goto next;
a85faa
+		nm_assert (ifdata->property_changed_signal_id);
a85faa
 
a85faa
 		/* We use here alloca in a loop, something that is usually avoided.
a85faa
 		 * But the number of interfaces "priv->num_interfaces" is small (determined by
a85faa
-		 * the depth of the type inheritence) and the number of possible pending_notifies
a85faa
+		 * the depth of the type inheritance) and the number of possible pending_notifies
a85faa
 		 * "n" is small (determined by the number of GObject properties). */
a85faa
 		values = g_alloca (sizeof (values[0]) * n);
a85faa
 
a85faa
@@ -834,7 +840,6 @@ idle_emit_properties_changed (gpointer self)
a85faa
 
a85faa
 		g_signal_emit (ifdata->interface, ifdata->property_changed_signal_id, 0, variant);
a85faa
 
a85faa
-next:
a85faa
 		g_hash_table_remove_all (ifdata->pending_notifies);
a85faa
 	}
a85faa
 
a85faa
@@ -844,15 +849,21 @@ next:
a85faa
 static void
a85faa
 nm_exported_object_notify (GObject *object, GParamSpec *pspec)
a85faa
 {
a85faa
+	NMExportedObject *self = (NMExportedObject *) object;
a85faa
 	NMExportedObjectPrivate *priv = NM_EXPORTED_OBJECT_GET_PRIVATE (object);
a85faa
 	NMExportedObjectClassInfo *classinfo;
a85faa
 	GType type;
a85faa
 	const char *dbus_property_name = NULL;
a85faa
 	GValue value = G_VALUE_INIT;
a85faa
+	GVariant *value_variant;
a85faa
 	InterfaceData *ifdata = NULL;
a85faa
 	const GVariantType *vtype;
a85faa
 	guint i, j;
a85faa
 
a85faa
+	/* Hook to emit deprecated "PropertiesChanged" signal on NetworkManager interfaces.
a85faa
+	 * This is to preserve deprecated D-Bus API, nowadays we use instead
a85faa
+	 * the "PropertiesChanged" signal of "org.freedesktop.DBus.Properties". */
a85faa
+
a85faa
 	if (priv->num_interfaces == 0)
a85faa
 		return;
a85faa
 
a85faa
@@ -888,14 +899,58 @@ nm_exported_object_notify (GObject *object, GParamSpec *pspec)
a85faa
 vtype_found:
a85faa
 	g_value_init (&value, pspec->value_type);
a85faa
 	g_object_get_property (G_OBJECT (object), pspec->name, &value);
a85faa
-
a85faa
-	/* @dbus_property_name is inside classinfo and never freed, thus we don't clone it.
a85faa
-	 * Also, we do a pointer, not string comparison. */
a85faa
-	g_hash_table_insert (ifdata->pending_notifies,
a85faa
-	                     (gpointer) dbus_property_name,
a85faa
-	                     g_dbus_gvalue_to_gvariant (&value, vtype));
a85faa
+	value_variant = g_dbus_gvalue_to_gvariant (&value, vtype);
a85faa
 	g_value_unset (&value);
a85faa
 
a85faa
+	if (   (   NM_IS_DEVICE (self)
a85faa
+	        && !NMDBUS_IS_DEVICE_STATISTICS_SKELETON (ifdata->interface))
a85faa
+	    || NM_IS_ACTIVE_CONNECTION (self)) {
a85faa
+		/* This PropertiesChanged signal is nodaways deprecated in favor
a85faa
+		 * of "org.freedesktop.DBus.Properties"'s PropertiesChanged signal.
a85faa
+		 * This function solely exists to raise the NM version of PropertiesChanged.
a85faa
+		 *
a85faa
+		 * With types exported on D-Bus that are implemented as derived
a85faa
+		 * types in glib (NMDevice and NMActiveConnection), multiple types
a85faa
+		 * in the inheritance tree define a "PropertiesChanged" signal.
a85faa
+		 *
a85faa
+		 * In 1.0.0 and earlier, the signal was emitted once for every interface
a85faa
+		 * that had a "PropertiesChanged" signal. For example:
a85faa
+		 *   - NMDeviceEthernet.HwAddress was emitted on "fdo.NM.Device.Ethernet"
a85faa
+		 *     and "fdo.NM.Device.Veth" (if the device was of type NMDeviceVeth).
a85faa
+		 *   - NMVpnConnection.VpnState was emitted on "fdo.NM.Connecion.Active"
a85faa
+		 *     and "fdo.NM.VPN.Connection".
a85faa
+		 *
a85faa
+		 * NMDevice is special in that it didn't have a "PropertiesChanged" signal.
a85faa
+		 * Thus, a change to "NMDevice.StateReason" would be emitted on "fdo.NM.Device.Ethernet"
a85faa
+		 * and also on "fdo.NM.Device.Veth" (in case of a device of type NMDeviceVeth).
a85faa
+		 *
a85faa
+		 * The releases of 1.2.0 and 1.4.0 failed to realize above and broke this behavior.
a85faa
+		 * This special handling here is to bring back the 1.0.0 behavior.
a85faa
+		 *
a85faa
+		 * The Device.Statistics signal is special, because it was only added with 1.4.0
a85faa
+		 * and didn't have above behavior. So let's save the overhead of emitting multiple
a85faa
+		 * deprecated signals for wrong interfaces. */
a85faa
+		for (i = 0, j = 0; i < priv->num_interfaces; i++) {
a85faa
+			ifdata = &priv->interfaces[i];
a85faa
+			if (   ifdata->property_changed_signal_id
a85faa
+			    && !NMDBUS_IS_DEVICE_STATISTICS_SKELETON (ifdata->interface)) {
a85faa
+				j++;
a85faa
+				g_hash_table_insert (ifdata->pending_notifies,
a85faa
+				                     (gpointer) dbus_property_name,
a85faa
+				                     g_variant_ref (value_variant));
a85faa
+			}
a85faa
+		}
a85faa
+		nm_assert (j > 0);
a85faa
+		g_variant_unref (value_variant);
a85faa
+	} else if (ifdata->property_changed_signal_id) {
a85faa
+		/* @dbus_property_name is inside classinfo and never freed, thus we don't clone it.
a85faa
+		 * Also, we do a pointer, not string comparison. */
a85faa
+		g_hash_table_insert (ifdata->pending_notifies,
a85faa
+		                     (gpointer) dbus_property_name,
a85faa
+		                     value_variant);
a85faa
+	} else
a85faa
+		nm_assert_not_reached ();
a85faa
+
a85faa
 	if (!priv->notify_idle_id)
a85faa
 		priv->notify_idle_id = g_idle_add (idle_emit_properties_changed, object);
a85faa
 }
a85faa
diff --git a/src/nm-iface-helper.c b/src/nm-iface-helper.c
a85faa
index 49672cf..de035f1 100644
a85faa
--- a/src/nm-iface-helper.c
a85faa
+++ b/src/nm-iface-helper.c
a85faa
@@ -534,6 +534,8 @@ gboolean nm_config_get_configure_and_quit (gpointer unused);
a85faa
 gconstpointer nm_bus_manager_get (void);
a85faa
 void nm_bus_manager_register_object (gpointer unused, gpointer object);
a85faa
 void nm_bus_manager_unregister_object (gpointer unused, gpointer object);
a85faa
+GType nm_device_get_type (void);
a85faa
+GType nm_active_connection_get_type (void);
a85faa
 
a85faa
 gconstpointer
a85faa
 nm_config_get (void)
a85faa
@@ -569,3 +571,15 @@ nm_bus_manager_unregister_object (gpointer unused, gpointer object)
a85faa
 {
a85faa
 }
a85faa
 
a85faa
+GType
a85faa
+nm_device_get_type (void)
a85faa
+{
a85faa
+	g_return_val_if_reached (0);
a85faa
+}
a85faa
+
a85faa
+GType
a85faa
+nm_active_connection_get_type (void)
a85faa
+{
a85faa
+	g_return_val_if_reached (0);
a85faa
+}
a85faa
+
a85faa
-- 
a85faa
2.7.4
a85faa
a85faa
a85faa
From fcb1e69eafec59571ead5d771f89f7fa86dbb953 Mon Sep 17 00:00:00 2001
a85faa
From: Thomas Haller <thaller@redhat.com>
a85faa
Date: Thu, 1 Sep 2016 13:38:20 +0200
a85faa
Subject: [PATCH 2/4] dbus: deprecated NM specific PropertiesChanged signals
a85faa
a85faa
Nowadays, users should use the standard "PropertiesChanged" signal
a85faa
on "org.freedesktop.DBus.Properties" interface.
a85faa
a85faa
(cherry picked from commit 6fb917178aa19c61e909957f5146aa4565e0cb2f)
a85faa
(cherry picked from commit 98773bff54970db7e481a5f07fdcb11a4068a2b3)
a85faa
---
a85faa
 introspection/nm-access-point.xml        | 2 ++
a85faa
 introspection/nm-active-connection.xml   | 2 ++
a85faa
 introspection/nm-checkpoint.xml          | 2 ++
a85faa
 introspection/nm-device-adsl.xml         | 2 ++
a85faa
 introspection/nm-device-bond.xml         | 2 ++
a85faa
 introspection/nm-device-bridge.xml       | 2 ++
a85faa
 introspection/nm-device-bt.xml           | 2 ++
a85faa
 introspection/nm-device-ethernet.xml     | 2 ++
a85faa
 introspection/nm-device-generic.xml      | 2 ++
a85faa
 introspection/nm-device-infiniband.xml   | 2 ++
a85faa
 introspection/nm-device-ip-tunnel.xml    | 2 ++
a85faa
 introspection/nm-device-macvlan.xml      | 2 ++
a85faa
 introspection/nm-device-modem.xml        | 2 ++
a85faa
 introspection/nm-device-olpc-mesh.xml    | 2 +-
a85faa
 introspection/nm-device-statistics.xml   | 2 ++
a85faa
 introspection/nm-device-team.xml         | 2 ++
a85faa
 introspection/nm-device-tun.xml          | 2 ++
a85faa
 introspection/nm-device-veth.xml         | 2 ++
a85faa
 introspection/nm-device-vlan.xml         | 2 ++
a85faa
 introspection/nm-device-vxlan.xml        | 2 ++
a85faa
 introspection/nm-device-wifi.xml         | 4 ++--
a85faa
 introspection/nm-device-wimax.xml        | 2 +-
a85faa
 introspection/nm-dhcp4-config.xml        | 2 ++
a85faa
 introspection/nm-dhcp6-config.xml        | 2 ++
a85faa
 introspection/nm-ip4-config.xml          | 2 ++
a85faa
 introspection/nm-ip6-config.xml          | 2 ++
a85faa
 introspection/nm-manager.xml             | 2 +-
a85faa
 introspection/nm-settings-connection.xml | 2 ++
a85faa
 introspection/nm-settings.xml            | 2 ++
a85faa
 introspection/nm-vpn-connection.xml      | 2 ++
a85faa
 introspection/nm-wimax-nsp.xml           | 2 ++
a85faa
 31 files changed, 59 insertions(+), 5 deletions(-)
a85faa
a85faa
diff --git a/introspection/nm-access-point.xml b/introspection/nm-access-point.xml
a85faa
index 0c1ebf2..617c867 100644
a85faa
--- a/introspection/nm-access-point.xml
a85faa
+++ b/introspection/nm-access-point.xml
a85faa
@@ -93,6 +93,8 @@
a85faa
     
a85faa
         PropertiesChanged:
a85faa
         @properties: A dictionary mapping property names to variant boxed values
a85faa
+
a85faa
+        DEPRECATED. Use the standard "PropertiesChanged" signal from "org.freedesktop.DBus.Properties" instead which exists since version NetworkManager 1.2.0.
a85faa
     -->
a85faa
     <signal name="PropertiesChanged">
a85faa
       <arg name="properties" type="a{sv}"/>
a85faa
diff --git a/introspection/nm-active-connection.xml b/introspection/nm-active-connection.xml
a85faa
index a4e9417..383ede3 100644
a85faa
--- a/introspection/nm-active-connection.xml
a85faa
+++ b/introspection/nm-active-connection.xml
a85faa
@@ -148,6 +148,8 @@
a85faa
     
a85faa
         PropertiesChanged:
a85faa
         @properties: A dictionary mapping property names to variant boxed values
a85faa
+
a85faa
+        DEPRECATED. Use the standard "PropertiesChanged" signal from "org.freedesktop.DBus.Properties" instead which exists since version NetworkManager 1.2.0.
a85faa
     -->
a85faa
     <signal name="PropertiesChanged">
a85faa
       <arg name="properties" type="a{sv}"/>
a85faa
diff --git a/introspection/nm-checkpoint.xml b/introspection/nm-checkpoint.xml
a85faa
index d0fbda8..1c5050f 100644
a85faa
--- a/introspection/nm-checkpoint.xml
a85faa
+++ b/introspection/nm-checkpoint.xml
a85faa
@@ -34,6 +34,8 @@
a85faa
     
a85faa
         PropertiesChanged:
a85faa
         @properties: A dictionary mapping property names to variant boxed values
a85faa
+
a85faa
+        DEPRECATED. Use the standard "PropertiesChanged" signal from "org.freedesktop.DBus.Properties" instead which exists since version NetworkManager 1.2.0.
a85faa
     -->
a85faa
     <signal name="PropertiesChanged">
a85faa
       <arg name="properties" type="a{sv}"/>
a85faa
diff --git a/introspection/nm-device-adsl.xml b/introspection/nm-device-adsl.xml
a85faa
index 5ad397e..0986f06 100644
a85faa
--- a/introspection/nm-device-adsl.xml
a85faa
+++ b/introspection/nm-device-adsl.xml
a85faa
@@ -5,6 +5,8 @@
a85faa
     
a85faa
         PropertiesChanged:
a85faa
         @properties: A dictionary mapping property names to variant boxed values
a85faa
+
a85faa
+        DEPRECATED. Use the standard "PropertiesChanged" signal from "org.freedesktop.DBus.Properties" instead which exists since version NetworkManager 1.2.0.
a85faa
     -->
a85faa
     <signal name="PropertiesChanged">
a85faa
       <arg name="properties" type="a{sv}"/>
a85faa
diff --git a/introspection/nm-device-bond.xml b/introspection/nm-device-bond.xml
a85faa
index fc0249d..e6288a1 100644
a85faa
--- a/introspection/nm-device-bond.xml
a85faa
+++ b/introspection/nm-device-bond.xml
a85faa
@@ -28,6 +28,8 @@
a85faa
     
a85faa
         PropertiesChanged:
a85faa
         @properties: A dictionary mapping property names to variant boxed values
a85faa
+
a85faa
+        DEPRECATED. Use the standard "PropertiesChanged" signal from "org.freedesktop.DBus.Properties" instead which exists since version NetworkManager 1.2.0.
a85faa
     -->
a85faa
     <signal name="PropertiesChanged">
a85faa
       <arg name="properties" type="a{sv}"/>
a85faa
diff --git a/introspection/nm-device-bridge.xml b/introspection/nm-device-bridge.xml
a85faa
index c2e8ffd..a6c5710 100644
a85faa
--- a/introspection/nm-device-bridge.xml
a85faa
+++ b/introspection/nm-device-bridge.xml
a85faa
@@ -28,6 +28,8 @@
a85faa
     
a85faa
         PropertiesChanged:
a85faa
         @properties: A dictionary mapping property names to variant boxed values
a85faa
+
a85faa
+        DEPRECATED. Use the standard "PropertiesChanged" signal from "org.freedesktop.DBus.Properties" instead which exists since version NetworkManager 1.2.0.
a85faa
     -->
a85faa
     <signal name="PropertiesChanged">
a85faa
       <arg name="properties" type="a{sv}"/>
a85faa
diff --git a/introspection/nm-device-bt.xml b/introspection/nm-device-bt.xml
a85faa
index 6249085..f891220 100644
a85faa
--- a/introspection/nm-device-bt.xml
a85faa
+++ b/introspection/nm-device-bt.xml
a85faa
@@ -28,6 +28,8 @@
a85faa
     
a85faa
         PropertiesChanged:
a85faa
         @properties: A dictionary mapping property names to variant boxed values
a85faa
+
a85faa
+        DEPRECATED. Use the standard "PropertiesChanged" signal from "org.freedesktop.DBus.Properties" instead which exists since version NetworkManager 1.2.0.
a85faa
     -->
a85faa
     <signal name="PropertiesChanged">
a85faa
       <arg name="properties" type="a{sv}"/>
a85faa
diff --git a/introspection/nm-device-ethernet.xml b/introspection/nm-device-ethernet.xml
a85faa
index ddfa74b..3aa4540 100644
a85faa
--- a/introspection/nm-device-ethernet.xml
a85faa
+++ b/introspection/nm-device-ethernet.xml
a85faa
@@ -42,6 +42,8 @@
a85faa
     
a85faa
         PropertiesChanged:
a85faa
         @properties: A dictionary mapping property names to variant boxed values
a85faa
+
a85faa
+        DEPRECATED. Use the standard "PropertiesChanged" signal from "org.freedesktop.DBus.Properties" instead which exists since version NetworkManager 1.2.0.
a85faa
     -->
a85faa
     <signal name="PropertiesChanged">
a85faa
       <arg name="properties" type="a{sv}"/>
a85faa
diff --git a/introspection/nm-device-generic.xml b/introspection/nm-device-generic.xml
a85faa
index e79ff70..39aafc2 100644
a85faa
--- a/introspection/nm-device-generic.xml
a85faa
+++ b/introspection/nm-device-generic.xml
a85faa
@@ -19,6 +19,8 @@
a85faa
     
a85faa
         PropertiesChanged:
a85faa
         @properties: A dictionary mapping property names to variant boxed values
a85faa
+
a85faa
+        DEPRECATED. Use the standard "PropertiesChanged" signal from "org.freedesktop.DBus.Properties" instead which exists since version NetworkManager 1.2.0.
a85faa
     -->
a85faa
     <signal name="PropertiesChanged">
a85faa
       <arg name="properties" type="a{sv}"/>
a85faa
diff --git a/introspection/nm-device-infiniband.xml b/introspection/nm-device-infiniband.xml
a85faa
index 9848a07..34b5fad 100644
a85faa
--- a/introspection/nm-device-infiniband.xml
a85faa
+++ b/introspection/nm-device-infiniband.xml
a85faa
@@ -20,6 +20,8 @@
a85faa
     
a85faa
         PropertiesChanged:
a85faa
         @properties: A dictionary mapping property names to variant boxed values
a85faa
+
a85faa
+        DEPRECATED. Use the standard "PropertiesChanged" signal from "org.freedesktop.DBus.Properties" instead which exists since version NetworkManager 1.2.0.
a85faa
     -->
a85faa
     <signal name="PropertiesChanged">
a85faa
       <arg name="properties" type="a{sv}"/>
a85faa
diff --git a/introspection/nm-device-ip-tunnel.xml b/introspection/nm-device-ip-tunnel.xml
a85faa
index 45f3a3f..dda71e3 100644
a85faa
--- a/introspection/nm-device-ip-tunnel.xml
a85faa
+++ b/introspection/nm-device-ip-tunnel.xml
a85faa
@@ -86,6 +86,8 @@
a85faa
     
a85faa
         PropertiesChanged:
a85faa
         @properties: A dictionary mapping property names to variant boxed values
a85faa
+
a85faa
+        DEPRECATED. Use the standard "PropertiesChanged" signal from "org.freedesktop.DBus.Properties" instead which exists since version NetworkManager 1.2.0.
a85faa
     -->
a85faa
     <signal name="PropertiesChanged">
a85faa
       <arg name="properties" type="a{sv}"/>
a85faa
diff --git a/introspection/nm-device-macvlan.xml b/introspection/nm-device-macvlan.xml
a85faa
index 876b685..e0b58ba 100644
a85faa
--- a/introspection/nm-device-macvlan.xml
a85faa
+++ b/introspection/nm-device-macvlan.xml
a85faa
@@ -33,6 +33,8 @@
a85faa
     
a85faa
         PropertiesChanged:
a85faa
         @properties: A dictionary mapping property names to variant boxed values
a85faa
+
a85faa
+        DEPRECATED. Use the standard "PropertiesChanged" signal from "org.freedesktop.DBus.Properties" instead which exists since version NetworkManager 1.2.0.
a85faa
     -->
a85faa
     <signal name="PropertiesChanged">
a85faa
       <arg name="properties" type="a{sv}"/>
a85faa
diff --git a/introspection/nm-device-modem.xml b/introspection/nm-device-modem.xml
a85faa
index 1d4bd65..29eff68 100644
a85faa
--- a/introspection/nm-device-modem.xml
a85faa
+++ b/introspection/nm-device-modem.xml
a85faa
@@ -5,6 +5,8 @@
a85faa
     
a85faa
         PropertiesChanged:
a85faa
         @properties: A dictionary mapping property names to variant boxed values
a85faa
+
a85faa
+        DEPRECATED. Use the standard "PropertiesChanged" signal from "org.freedesktop.DBus.Properties" instead which exists since version NetworkManager 1.2.0.
a85faa
     -->
a85faa
     <signal name="PropertiesChanged">
a85faa
         <arg name="properties" type="a{sv}"/>
a85faa
diff --git a/introspection/nm-device-olpc-mesh.xml b/introspection/nm-device-olpc-mesh.xml
a85faa
index b2ab126..3d6162f 100644
a85faa
--- a/introspection/nm-device-olpc-mesh.xml
a85faa
+++ b/introspection/nm-device-olpc-mesh.xml
a85faa
@@ -27,7 +27,7 @@
a85faa
         PropertiesChanged:
a85faa
         @properties: A dictionary containing the FIXME: check changed parameters.
a85faa
 
a85faa
-        Emitted when the wireless device's properties changed.
a85faa
+        DEPRECATED. Use the standard "PropertiesChanged" signal from "org.freedesktop.DBus.Properties" instead which exists since version NetworkManager 1.2.0.
a85faa
     -->
a85faa
     <signal name="PropertiesChanged">
a85faa
       <arg name="properties" type="a{sv}"/>
a85faa
diff --git a/introspection/nm-device-statistics.xml b/introspection/nm-device-statistics.xml
a85faa
index bdb19c8..84c3b6f 100644
a85faa
--- a/introspection/nm-device-statistics.xml
a85faa
+++ b/introspection/nm-device-statistics.xml
a85faa
@@ -29,6 +29,8 @@
a85faa
     
a85faa
         PropertiesChanged:
a85faa
         @properties: A dictionary mapping property names to variant boxed values
a85faa
+
a85faa
+        DEPRECATED. Use the standard "PropertiesChanged" signal from "org.freedesktop.DBus.Properties" instead which exists since version NetworkManager 1.2.0.
a85faa
     -->
a85faa
     <signal name="PropertiesChanged">
a85faa
         <arg name="properties" type="a{sv}"/>
a85faa
diff --git a/introspection/nm-device-team.xml b/introspection/nm-device-team.xml
a85faa
index 64faaec..c7b50a3 100644
a85faa
--- a/introspection/nm-device-team.xml
a85faa
+++ b/introspection/nm-device-team.xml
a85faa
@@ -35,6 +35,8 @@
a85faa
     
a85faa
         PropertiesChanged:
a85faa
         @properties: A dictionary mapping property names to variant boxed values
a85faa
+
a85faa
+        DEPRECATED. Use the standard "PropertiesChanged" signal from "org.freedesktop.DBus.Properties" instead which exists since version NetworkManager 1.2.0.
a85faa
     -->
a85faa
     <signal name="PropertiesChanged">
a85faa
       <arg name="properties" type="a{sv}"/>
a85faa
diff --git a/introspection/nm-device-tun.xml b/introspection/nm-device-tun.xml
a85faa
index a11461c..68167cc 100644
a85faa
--- a/introspection/nm-device-tun.xml
a85faa
+++ b/introspection/nm-device-tun.xml
a85faa
@@ -57,6 +57,8 @@
a85faa
     
a85faa
         PropertiesChanged:
a85faa
         @properties: A dictionary mapping property names to variant boxed values
a85faa
+
a85faa
+        DEPRECATED. Use the standard "PropertiesChanged" signal from "org.freedesktop.DBus.Properties" instead which exists since version NetworkManager 1.2.0.
a85faa
     -->
a85faa
     <signal name="PropertiesChanged">
a85faa
       <arg name="properties" type="a{sv}"/>
a85faa
diff --git a/introspection/nm-device-veth.xml b/introspection/nm-device-veth.xml
a85faa
index b064874..93c7c87 100644
a85faa
--- a/introspection/nm-device-veth.xml
a85faa
+++ b/introspection/nm-device-veth.xml
a85faa
@@ -12,6 +12,8 @@
a85faa
     
a85faa
         PropertiesChanged:
a85faa
         @properties: A dictionary mapping property names to variant boxed values
a85faa
+
a85faa
+        DEPRECATED. Use the standard "PropertiesChanged" signal from "org.freedesktop.DBus.Properties" instead which exists since version NetworkManager 1.2.0.
a85faa
     -->
a85faa
     <signal name="PropertiesChanged">
a85faa
       <arg name="properties" type="a{sv}"/>
a85faa
diff --git a/introspection/nm-device-vlan.xml b/introspection/nm-device-vlan.xml
a85faa
index 7d8fbdc..e5bf7c4 100644
a85faa
--- a/introspection/nm-device-vlan.xml
a85faa
+++ b/introspection/nm-device-vlan.xml
a85faa
@@ -34,6 +34,8 @@
a85faa
     
a85faa
         PropertiesChanged:
a85faa
         @properties: A dictionary mapping property names to variant boxed values
a85faa
+
a85faa
+        DEPRECATED. Use the standard "PropertiesChanged" signal from "org.freedesktop.DBus.Properties" instead which exists since version NetworkManager 1.2.0.
a85faa
     -->
a85faa
     <signal name="PropertiesChanged">
a85faa
       <arg name="properties" type="a{sv}"/>
a85faa
diff --git a/introspection/nm-device-vxlan.xml b/introspection/nm-device-vxlan.xml
a85faa
index ec17717..8eae63c 100644
a85faa
--- a/introspection/nm-device-vxlan.xml
a85faa
+++ b/introspection/nm-device-vxlan.xml
a85faa
@@ -131,6 +131,8 @@
a85faa
     
a85faa
         PropertiesChanged:
a85faa
         @properties: A dictionary mapping property names to variant boxed values
a85faa
+
a85faa
+        DEPRECATED. Use the standard "PropertiesChanged" signal from "org.freedesktop.DBus.Properties" instead which exists since version NetworkManager 1.2.0.
a85faa
     -->
a85faa
     <signal name="PropertiesChanged">
a85faa
       <arg name="properties" type="a{sv}"/>
a85faa
diff --git a/introspection/nm-device-wifi.xml b/introspection/nm-device-wifi.xml
a85faa
index c1f378d..1973b41 100644
a85faa
--- a/introspection/nm-device-wifi.xml
a85faa
+++ b/introspection/nm-device-wifi.xml
a85faa
@@ -93,9 +93,9 @@
a85faa
 
a85faa
     
a85faa
         PropertiesChanged:
a85faa
-        @properties: A dictionary containing the FIXME: check changed parameters.
a85faa
+        @properties: A dictionary containing the changed parameters.
a85faa
 
a85faa
-        Emitted when the wireless device's properties changed.
a85faa
+        DEPRECATED. Use the standard "PropertiesChanged" signal from "org.freedesktop.DBus.Properties" instead which exists since version NetworkManager 1.2.0.
a85faa
     -->
a85faa
     <signal name="PropertiesChanged">
a85faa
         <arg name="properties" type="a{sv}"/>
a85faa
diff --git a/introspection/nm-device-wimax.xml b/introspection/nm-device-wimax.xml
a85faa
index 02539db..844856c 100644
a85faa
--- a/introspection/nm-device-wimax.xml
a85faa
+++ b/introspection/nm-device-wimax.xml
a85faa
@@ -83,7 +83,7 @@
a85faa
         PropertiesChanged:
a85faa
         @properties: A dictionary mapping property names to variant boxed values.
a85faa
 
a85faa
-        Emitted when the WiMax device's properties changed.
a85faa
+        DEPRECATED. Use the standard "PropertiesChanged" signal from "org.freedesktop.DBus.Properties" instead which exists since version NetworkManager 1.2.0.
a85faa
     -->
a85faa
     <signal name="PropertiesChanged">
a85faa
         <arg name="properties" type="a{sv}"/>
a85faa
diff --git a/introspection/nm-dhcp4-config.xml b/introspection/nm-dhcp4-config.xml
a85faa
index e9363f9..5244bca 100644
a85faa
--- a/introspection/nm-dhcp4-config.xml
a85faa
+++ b/introspection/nm-dhcp4-config.xml
a85faa
@@ -19,6 +19,8 @@
a85faa
     
a85faa
         PropertiesChanged:
a85faa
         @properties: A dictionary mapping property names to variant boxed values
a85faa
+
a85faa
+        DEPRECATED. Use the standard "PropertiesChanged" signal from "org.freedesktop.DBus.Properties" instead which exists since version NetworkManager 1.2.0.
a85faa
     -->
a85faa
     <signal name="PropertiesChanged">
a85faa
       <arg name="properties" type="a{sv}"/>
a85faa
diff --git a/introspection/nm-dhcp6-config.xml b/introspection/nm-dhcp6-config.xml
a85faa
index 7ecdf35..09e2ca8 100644
a85faa
--- a/introspection/nm-dhcp6-config.xml
a85faa
+++ b/introspection/nm-dhcp6-config.xml
a85faa
@@ -19,6 +19,8 @@
a85faa
     
a85faa
         PropertiesChanged:
a85faa
         @properties: A dictionary mapping property names to variant boxed values
a85faa
+
a85faa
+        DEPRECATED. Use the standard "PropertiesChanged" signal from "org.freedesktop.DBus.Properties" instead which exists since version NetworkManager 1.2.0.
a85faa
     -->
a85faa
     <signal name="PropertiesChanged">
a85faa
       <arg name="properties" type="a{sv}"/>
a85faa
diff --git a/introspection/nm-ip4-config.xml b/introspection/nm-ip4-config.xml
a85faa
index bbe7beb..17f57bc 100644
a85faa
--- a/introspection/nm-ip4-config.xml
a85faa
+++ b/introspection/nm-ip4-config.xml
a85faa
@@ -94,6 +94,8 @@
a85faa
     
a85faa
         PropertiesChanged:
a85faa
         @properties: A dictionary mapping property names to variant boxed values
a85faa
+
a85faa
+        DEPRECATED. Use the standard "PropertiesChanged" signal from "org.freedesktop.DBus.Properties" instead which exists since version NetworkManager 1.2.0.
a85faa
     -->
a85faa
     <signal name="PropertiesChanged">
a85faa
       <arg name="properties" type="a{sv}"/>
a85faa
diff --git a/introspection/nm-ip6-config.xml b/introspection/nm-ip6-config.xml
a85faa
index a58bfff..e5cab71 100644
a85faa
--- a/introspection/nm-ip6-config.xml
a85faa
+++ b/introspection/nm-ip6-config.xml
a85faa
@@ -86,6 +86,8 @@
a85faa
     
a85faa
         PropertiesChanged:
a85faa
         @properties: A dictionary mapping property names to variant boxed values
a85faa
+
a85faa
+        DEPRECATED. Use the standard "PropertiesChanged" signal from "org.freedesktop.DBus.Properties" instead which exists since version NetworkManager 1.2.0.
a85faa
     -->
a85faa
     <signal name="PropertiesChanged">
a85faa
       <arg name="properties" type="a{sv}"/>
a85faa
diff --git a/introspection/nm-manager.xml b/introspection/nm-manager.xml
a85faa
index 95cc16c..55d9dd2 100644
a85faa
--- a/introspection/nm-manager.xml
a85faa
+++ b/introspection/nm-manager.xml
a85faa
@@ -425,7 +425,7 @@
a85faa
         PropertiesChanged:
a85faa
         @properties: The changed properties.
a85faa
 
a85faa
-        NetworkManager's properties changed.
a85faa
+        DEPRECATED. Use the standard "PropertiesChanged" signal from "org.freedesktop.DBus.Properties" instead which exists since version NetworkManager 1.2.0.
a85faa
     -->
a85faa
     <signal name="PropertiesChanged">
a85faa
       <arg name="properties" type="a{sv}"/>
a85faa
diff --git a/introspection/nm-settings-connection.xml b/introspection/nm-settings-connection.xml
a85faa
index 15b3803..cf33120 100644
a85faa
--- a/introspection/nm-settings-connection.xml
a85faa
+++ b/introspection/nm-settings-connection.xml
a85faa
@@ -123,6 +123,8 @@
a85faa
     
a85faa
         PropertiesChanged:
a85faa
         @properties: A dictionary mapping property names to variant boxed values.
a85faa
+
a85faa
+        DEPRECATED. Use the standard "PropertiesChanged" signal from "org.freedesktop.DBus.Properties" instead which exists since version NetworkManager 1.2.0.
a85faa
     -->
a85faa
     <signal name="PropertiesChanged">
a85faa
       <arg name="properties" type="a{sv}"/>
a85faa
diff --git a/introspection/nm-settings.xml b/introspection/nm-settings.xml
a85faa
index 7f5b546..32675e0 100644
a85faa
--- a/introspection/nm-settings.xml
a85faa
+++ b/introspection/nm-settings.xml
a85faa
@@ -131,6 +131,8 @@
a85faa
     
a85faa
         PropertiesChanged:
a85faa
         @properties: A dictionary mapping property names to variant boxed values
a85faa
+
a85faa
+        DEPRECATED. Use the standard "PropertiesChanged" signal from "org.freedesktop.DBus.Properties" instead which exists since version NetworkManager 1.2.0.
a85faa
     -->
a85faa
     <signal name="PropertiesChanged">
a85faa
         <arg name="properties" type="a{sv}"/>
a85faa
diff --git a/introspection/nm-vpn-connection.xml b/introspection/nm-vpn-connection.xml
a85faa
index 430998f..897cea0 100644
a85faa
--- a/introspection/nm-vpn-connection.xml
a85faa
+++ b/introspection/nm-vpn-connection.xml
a85faa
@@ -12,6 +12,8 @@
a85faa
     
a85faa
         PropertiesChanged:
a85faa
         @properties: A dictionary mapping property names to variant boxed values
a85faa
+
a85faa
+        DEPRECATED. Use the standard "PropertiesChanged" signal from "org.freedesktop.DBus.Properties" instead which exists since version NetworkManager 1.2.0.
a85faa
     -->
a85faa
     <signal name="PropertiesChanged">
a85faa
       <arg name="properties" type="a{sv}"/>
a85faa
diff --git a/introspection/nm-wimax-nsp.xml b/introspection/nm-wimax-nsp.xml
a85faa
index 8b9a2fc..a766927 100644
a85faa
--- a/introspection/nm-wimax-nsp.xml
a85faa
+++ b/introspection/nm-wimax-nsp.xml
a85faa
@@ -28,6 +28,8 @@
a85faa
     
a85faa
         PropertiesChanged:
a85faa
         @properties: A dictionary mapping property names to variant boxed values.
a85faa
+
a85faa
+        DEPRECATED. Use the standard "PropertiesChanged" signal from "org.freedesktop.DBus.Properties" instead which exists since version NetworkManager 1.2.0.
a85faa
     -->
a85faa
     <signal name="PropertiesChanged">
a85faa
       <arg name="properties" type="a{sv}"/>
a85faa
-- 
a85faa
2.7.4
a85faa
a85faa
a85faa
From b35b20aa1fe45cc62e3deb29b7d3b066cc79608a Mon Sep 17 00:00:00 2001
a85faa
From: Thomas Haller <thaller@redhat.com>
a85faa
Date: Thu, 1 Sep 2016 15:05:03 +0200
a85faa
Subject: [PATCH 3/4] exported-object: use @self variable instead of @object
a85faa
a85faa
(cherry picked from commit b9c1868b451eb7ef92e6924ee8d3dcca0397865d)
a85faa
(cherry picked from commit 7220d469bee845db63658acde49eed3b00954c58)
a85faa
---
a85faa
 src/nm-exported-object.c | 10 +++++-----
a85faa
 1 file changed, 5 insertions(+), 5 deletions(-)
a85faa
a85faa
diff --git a/src/nm-exported-object.c b/src/nm-exported-object.c
a85faa
index 5dacb02..c05161e 100644
a85faa
--- a/src/nm-exported-object.c
a85faa
+++ b/src/nm-exported-object.c
a85faa
@@ -850,7 +850,7 @@ static void
a85faa
 nm_exported_object_notify (GObject *object, GParamSpec *pspec)
a85faa
 {
a85faa
 	NMExportedObject *self = (NMExportedObject *) object;
a85faa
-	NMExportedObjectPrivate *priv = NM_EXPORTED_OBJECT_GET_PRIVATE (object);
a85faa
+	NMExportedObjectPrivate *priv = NM_EXPORTED_OBJECT_GET_PRIVATE (self);
a85faa
 	NMExportedObjectClassInfo *classinfo;
a85faa
 	GType type;
a85faa
 	const char *dbus_property_name = NULL;
a85faa
@@ -867,7 +867,7 @@ nm_exported_object_notify (GObject *object, GParamSpec *pspec)
a85faa
 	if (priv->num_interfaces == 0)
a85faa
 		return;
a85faa
 
a85faa
-	for (type = G_OBJECT_TYPE (object); type; type = g_type_parent (type)) {
a85faa
+	for (type = G_OBJECT_TYPE (self); type; type = g_type_parent (type)) {
a85faa
 		classinfo = g_type_get_qdata (type, nm_exported_object_class_info_quark ());
a85faa
 		if (!classinfo)
a85faa
 			continue;
a85faa
@@ -878,7 +878,7 @@ nm_exported_object_notify (GObject *object, GParamSpec *pspec)
a85faa
 	}
a85faa
 	if (!dbus_property_name) {
a85faa
 		nm_log_trace (LOGD_DBUS_PROPS, "properties-changed[%p]: ignoring notification for prop %s on type %s",
a85faa
-		              object, pspec->name, G_OBJECT_TYPE_NAME (object));
a85faa
+		              self, pspec->name, G_OBJECT_TYPE_NAME (self));
a85faa
 		return;
a85faa
 	}
a85faa
 
a85faa
@@ -898,7 +898,7 @@ nm_exported_object_notify (GObject *object, GParamSpec *pspec)
a85faa
 
a85faa
 vtype_found:
a85faa
 	g_value_init (&value, pspec->value_type);
a85faa
-	g_object_get_property (G_OBJECT (object), pspec->name, &value);
a85faa
+	g_object_get_property ((GObject *) self, pspec->name, &value);
a85faa
 	value_variant = g_dbus_gvalue_to_gvariant (&value, vtype);
a85faa
 	g_value_unset (&value);
a85faa
 
a85faa
@@ -952,7 +952,7 @@ vtype_found:
a85faa
 		nm_assert_not_reached ();
a85faa
 
a85faa
 	if (!priv->notify_idle_id)
a85faa
-		priv->notify_idle_id = g_idle_add (idle_emit_properties_changed, object);
a85faa
+		priv->notify_idle_id = g_idle_add (idle_emit_properties_changed, self);
a85faa
 }
a85faa
 
a85faa
 /*****************************************************************************/
a85faa
-- 
a85faa
2.7.4
a85faa
a85faa
a85faa
From bcb05b5eab46b31dea5c3067df1a2cc078a2eb32 Mon Sep 17 00:00:00 2001
a85faa
From: Thomas Haller <thaller@redhat.com>
a85faa
Date: Thu, 1 Sep 2016 15:09:01 +0200
a85faa
Subject: [PATCH 4/4] exported-object: use _NMLOG2() macro for logging
a85faa
 property-changed signal
a85faa
a85faa
(cherry picked from commit ba713e8381ee8276bee998b6ecaf263558fd6a4f)
a85faa
(cherry picked from commit db4375277cc1611483ff53b16f016637467571b4)
a85faa
---
a85faa
 src/nm-exported-object.c | 23 ++++++++++++++++-------
a85faa
 1 file changed, 16 insertions(+), 7 deletions(-)
a85faa
a85faa
diff --git a/src/nm-exported-object.c b/src/nm-exported-object.c
a85faa
index c05161e..32b5ec0 100644
a85faa
--- a/src/nm-exported-object.c
a85faa
+++ b/src/nm-exported-object.c
a85faa
@@ -76,11 +76,20 @@ G_DEFINE_QUARK (NMExportedObjectClassInfo, nm_exported_object_class_info)
a85faa
 #define _NMLOG_DOMAIN                     LOGD_CORE
a85faa
 
a85faa
 #define _NMLOG(level, ...) \
a85faa
-    nm_log (level, _NMLOG_DOMAIN, \
a85faa
+    nm_log ((level), _NMLOG_DOMAIN, \
a85faa
             "%s[%p]: " _NM_UTILS_MACRO_FIRST (__VA_ARGS__), \
a85faa
             _NMLOG_PREFIX_NAME, (self) \
a85faa
             _NM_UTILS_MACRO_REST (__VA_ARGS__))
a85faa
 
a85faa
+#define _NMLOG2_PREFIX_NAME               "properties-changed"
a85faa
+#define _NMLOG2_DOMAIN                    LOGD_DBUS_PROPS
a85faa
+
a85faa
+#define _NMLOG2(level, ...) \
a85faa
+    nm_log ((level), _NMLOG2_DOMAIN, \
a85faa
+            "%s[%p]: " _NM_UTILS_MACRO_FIRST (__VA_ARGS__), \
a85faa
+            _NMLOG2_PREFIX_NAME, (self) \
a85faa
+            _NM_UTILS_MACRO_REST (__VA_ARGS__))
a85faa
+
a85faa
 /*****************************************************************************/
a85faa
 
a85faa
 /* "AddConnectionUnsaved" -> "handle-add-connection-unsaved" */
a85faa
@@ -830,12 +839,12 @@ idle_emit_properties_changed (gpointer self)
a85faa
 		variant = g_variant_ref_sink (g_variant_builder_end (&notifies));
a85faa
 
a85faa
 
a85faa
-		if (nm_logging_enabled (LOGL_DEBUG, LOGD_DBUS_PROPS)) {
a85faa
+		if (_LOG2D_ENABLED ()) {
a85faa
 			gs_free char *notification = g_variant_print (variant, TRUE);
a85faa
 
a85faa
-			nm_log_dbg (LOGD_DBUS_PROPS, "properties-changed[%p]: type %s, iface %s: %s",
a85faa
-			            self, G_OBJECT_TYPE_NAME (self), G_OBJECT_TYPE_NAME (ifdata->interface),
a85faa
-			            notification);
a85faa
+			_LOG2D ("type %s, iface %s: %s",
a85faa
+			        G_OBJECT_TYPE_NAME (self), G_OBJECT_TYPE_NAME (ifdata->interface),
a85faa
+			        notification);
a85faa
 		}
a85faa
 
a85faa
 		g_signal_emit (ifdata->interface, ifdata->property_changed_signal_id, 0, variant);
a85faa
@@ -877,8 +886,8 @@ nm_exported_object_notify (GObject *object, GParamSpec *pspec)
a85faa
 			break;
a85faa
 	}
a85faa
 	if (!dbus_property_name) {
a85faa
-		nm_log_trace (LOGD_DBUS_PROPS, "properties-changed[%p]: ignoring notification for prop %s on type %s",
a85faa
-		              self, pspec->name, G_OBJECT_TYPE_NAME (self));
a85faa
+		_LOG2T ("ignoring notification for prop %s on type %s",
a85faa
+		        pspec->name, G_OBJECT_TYPE_NAME (self));
a85faa
 		return;
a85faa
 	}
a85faa
 
a85faa
-- 
a85faa
2.7.4
a85faa