diff options
author | Dan Winship <danw@gnome.org> | 2014-05-09 15:14:37 -0400 |
---|---|---|
committer | Dan Winship <danw@gnome.org> | 2014-08-01 14:34:40 -0400 |
commit | a0e9a4bd45f25548f1fe580ddaf96ca6ff567721 (patch) | |
tree | 22ca1d9f7e5a285a47b6520ad6ac9ee5f4284dd6 /libnm/nm-dhcp6-config.c | |
parent | 2fc55941a333b387528802b6fb88887916ef6d9c (diff) | |
download | NetworkManager-a0e9a4bd45f25548f1fe580ddaf96ca6ff567721.tar.gz |
libnm: remove _new functions from NMObject subclasses
Most NMObjects should not be manually created, they should only be
received from NMClient or NMRemoteSettings.
Diffstat (limited to 'libnm/nm-dhcp6-config.c')
-rw-r--r-- | libnm/nm-dhcp6-config.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/libnm/nm-dhcp6-config.c b/libnm/nm-dhcp6-config.c index 2f85186b48..bea41d4e4a 100644 --- a/libnm/nm-dhcp6-config.c +++ b/libnm/nm-dhcp6-config.c @@ -161,24 +161,6 @@ nm_dhcp6_config_class_init (NMDhcp6ConfigClass *config_class) } /** - * nm_dhcp6_config_new: - * @connection: the #DBusGConnection - * @object_path: the DBus object path of the device - * - * Creates a new #NMDhcp6Config. - * - * Returns: (transfer full): a new configuration - **/ -GObject * -nm_dhcp6_config_new (DBusGConnection *connection, const char *object_path) -{ - return (GObject *) g_object_new (NM_TYPE_DHCP6_CONFIG, - NM_OBJECT_DBUS_CONNECTION, connection, - NM_OBJECT_DBUS_PATH, object_path, - NULL); -} - -/** * nm_dhcp6_config_get_options: * @config: a #NMDhcp6Config * |