summaryrefslogtreecommitdiff
path: root/libnm/nm-device-wimax.c
diff options
context:
space:
mode:
authorDan Winship <danw@gnome.org>2014-05-09 15:14:37 -0400
committerDan Winship <danw@gnome.org>2014-08-01 14:34:40 -0400
commita0e9a4bd45f25548f1fe580ddaf96ca6ff567721 (patch)
tree22ca1d9f7e5a285a47b6520ad6ac9ee5f4284dd6 /libnm/nm-device-wimax.c
parent2fc55941a333b387528802b6fb88887916ef6d9c (diff)
downloadNetworkManager-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.c25
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
*