summaryrefslogtreecommitdiff
path: root/libnm-core/nm-setting-private.h
diff options
context:
space:
mode:
Diffstat (limited to 'libnm-core/nm-setting-private.h')
-rw-r--r--libnm-core/nm-setting-private.h34
1 files changed, 0 insertions, 34 deletions
diff --git a/libnm-core/nm-setting-private.h b/libnm-core/nm-setting-private.h
index 747818df9c..e9ba4b8ce5 100644
--- a/libnm-core/nm-setting-private.h
+++ b/libnm-core/nm-setting-private.h
@@ -172,40 +172,6 @@ void _properties_override_add_struct (GArray *properties_override,
_properties_override_add ((properties_override), .name = (p_name), .property_type = (p_property_type))
/**
- * _properties_override_add_dbus_only:
- * @properties_override: an array collecting the overrides
- * @p_property_name: the name of the property to override
- * @p_dbus_type: the type of the property (in its D-Bus representation)
- * @p_to_dbus_fcn: (allow-none): function to call to synthesize a value for the property
- * @p_from_dbus_fcn: (allow-none): function to call to set the value of the property
- *
- * Registers a property named @p_property_name, which will be used in the D-Bus
- * serialization of objects of this setting type, but which does not correspond to
- * a #GObject property.
- *
- * When serializing a setting to D-Bus, @p_to_dbus_fcn will be called to synthesize
- * a value for the property. (If it returns %NULL, no value will be added to the
- * serialization. If @p_to_dbus_fcn is %NULL, the property will always be omitted
- * in the serialization.)
- *
- * When deserializing a D-Bus representation into a setting, if @p_property_name
- * is present, then @p_from_dbus_fcn will be called to set it. (If @p_from_dbus_fcn is %NULL
- * then the property will be ignored when deserializing.)
- */
-#define _properties_override_add_dbus_only(properties_override, \
- p_property_name, \
- p_dbus_type, \
- p_to_dbus_fcn, \
- p_from_dbus_fcn) \
- _properties_override_add ((properties_override), \
- .name = (p_property_name), \
- .property_type = NM_SETT_INFO_PROPERT_TYPE ( \
- .dbus_type = (p_dbus_type), \
- .to_dbus_fcn = (p_to_dbus_fcn), \
- .from_dbus_fcn = (p_from_dbus_fcn), \
- ))
-
-/**
* _properties_override_add_override:
* @properties_override: an array collecting the overrides
* @p_param_spec: the name of the property to override