summary refs log tree commit diff
path: root/src/core/nm-dbus-object.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/nm-dbus-object.h')
-rw-r--r--src/core/nm-dbus-object.h15
1 files changed, 2 insertions, 13 deletions
diff --git a/src/core/nm-dbus-object.h b/src/core/nm-dbus-object.h
index d94bd5df..ae089dd3 100644
--- a/src/core/nm-dbus-object.h
+++ b/src/core/nm-dbus-object.h
@@ -45,17 +45,6 @@ typedef struct {
 
 /*****************************************************************************/
 
-/* "org.freedesktop.NetworkManager.Device.Statistics" is a special interface,
- * because although it has a legacy PropertiesChanged signal, it only notifies
- * about properties that actually exist on that interface. That is, because it
- * was added with 1.4.0 release, and thus didn't have the broken behavior like
- * other legacy interfaces. Those notify about *all* properties, even if they
- * are not part of that D-Bus interface. See also "include_in_legacy_property_changed"
- * and "legacy_property_changed". */
-extern const NMDBusInterfaceInfoExtended nm_interface_info_device_statistics;
-
-/*****************************************************************************/
-
 #define NM_TYPE_DBUS_OBJECT (nm_dbus_object_get_type())
 #define NM_DBUS_OBJECT(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), NM_TYPE_DBUS_OBJECT, NMDBusObject))
 #define NM_DBUS_OBJECT_CLASS(klass) \
@@ -166,9 +155,9 @@ void        nm_dbus_object_unexport(gpointer /* (NMDBusObject *) */ self);
 
 void nm_dbus_object_unexport_on_idle(gpointer /* (NMDBusObject *) */ self_take);
 
-void _nm_dbus_object_clear_and_unexport(NMDBusObject **location);
+gboolean _nm_dbus_object_clear_and_unexport(NMDBusObject **location);
 #define nm_dbus_object_clear_and_unexport(location) \
-    _nm_dbus_object_clear_and_unexport((NMDBusObject **) (location))
+    _nm_dbus_object_clear_and_unexport(NM_CAST_PPTR(NMDBusObject, (location)))
 
 void nm_dbus_object_emit_signal_variant(NMDBusObject *                     self,
                                         const NMDBusInterfaceInfoExtended *interface_info,