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-device-wimax.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-device-wimax.c')
-rw-r--r-- | libnm/nm-device-wimax.c | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/libnm/nm-device-wimax.c b/libnm/nm-device-wimax.c index 66c4bbc24e..471c1434f8 100644 --- a/libnm/nm-device-wimax.c +++ b/libnm/nm-device-wimax.c @@ -95,31 +95,6 @@ nm_device_wimax_error_quark (void) } /** - * nm_device_wimax_new: - * @connection: the #DBusGConnection - * @path: the D-Bus object path of the WiMAX device - * - * Creates a new #NMDeviceWimax. - * - * Returns: (transfer full): a new WiMAX device - **/ -GObject * -nm_device_wimax_new (DBusGConnection *connection, const char *path) -{ - GObject *device; - - g_return_val_if_fail (connection != NULL, NULL); - g_return_val_if_fail (path != NULL, NULL); - - device = g_object_new (NM_TYPE_DEVICE_WIMAX, - NM_OBJECT_DBUS_CONNECTION, connection, - NM_OBJECT_DBUS_PATH, path, - NULL); - _nm_object_ensure_inited (NM_OBJECT (device)); - return device; -} - -/** * nm_device_wimax_get_hw_address: * @wimax: a #NMDeviceWimax * |