mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-05 16:58:02 +02:00
trivial: remove leftover NM_IFACE_HELPER references
Left over from a previous version of the iface helper patches and was never removed when NM_IFACE_HELPER was removed. Since NM_IFACE_HELPER wasn't defined, this code was already always compiled.
This commit is contained in:
parent
70f227f552
commit
3c1187adb9
2 changed files with 0 additions and 8 deletions
|
|
@ -85,7 +85,6 @@ nm_ip4_config_new (void)
|
|||
}
|
||||
|
||||
|
||||
#ifndef NM_IFACE_HELPER
|
||||
void
|
||||
nm_ip4_config_export (NMIP4Config *config)
|
||||
{
|
||||
|
|
@ -97,7 +96,6 @@ nm_ip4_config_export (NMIP4Config *config)
|
|||
nm_dbus_manager_register_object (nm_dbus_manager_get (), priv->path, config);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
const char *
|
||||
nm_ip4_config_get_dbus_path (const NMIP4Config *config)
|
||||
|
|
@ -1956,9 +1954,7 @@ nm_ip4_config_class_init (NMIP4ConfigClass *config_class)
|
|||
|
||||
g_object_class_install_properties (object_class, LAST_PROP, obj_properties);
|
||||
|
||||
#ifndef NM_IFACE_HELPER
|
||||
nm_dbus_manager_register_exported_type (nm_dbus_manager_get (),
|
||||
G_TYPE_FROM_CLASS (config_class),
|
||||
&dbus_glib_nm_ip4_config_object_info);
|
||||
#endif
|
||||
}
|
||||
|
|
|
|||
|
|
@ -75,7 +75,6 @@ nm_ip6_config_new (void)
|
|||
return (NMIP6Config *) g_object_new (NM_TYPE_IP6_CONFIG, NULL);
|
||||
}
|
||||
|
||||
#ifndef NM_IFACE_HELPER
|
||||
void
|
||||
nm_ip6_config_export (NMIP6Config *config)
|
||||
{
|
||||
|
|
@ -87,7 +86,6 @@ nm_ip6_config_export (NMIP6Config *config)
|
|||
nm_dbus_manager_register_object (nm_dbus_manager_get (), priv->path, config);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
const char *
|
||||
nm_ip6_config_get_dbus_path (const NMIP6Config *config)
|
||||
|
|
@ -1867,9 +1865,7 @@ nm_ip6_config_class_init (NMIP6ConfigClass *config_class)
|
|||
|
||||
g_object_class_install_properties (object_class, LAST_PROP, obj_properties);
|
||||
|
||||
#ifndef NM_IFACE_HELPER
|
||||
nm_dbus_manager_register_exported_type (nm_dbus_manager_get (),
|
||||
G_TYPE_FROM_CLASS (config_class),
|
||||
&dbus_glib_nm_ip6_config_object_info);
|
||||
#endif
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue