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-wimax-nsp.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-wimax-nsp.c')
-rw-r--r-- | libnm/nm-wimax-nsp.c | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/libnm/nm-wimax-nsp.c b/libnm/nm-wimax-nsp.c index 1cbd3eefd0..106f5bd2f0 100644 --- a/libnm/nm-wimax-nsp.c +++ b/libnm/nm-wimax-nsp.c @@ -54,27 +54,6 @@ enum { }; /** - * nm_wimax_nsp_new: - * @connection: the #DBusGConnection - * @path: the D-Bus object path of the WiMAX NSP - * - * Creates a new #NMWimaxNsp. - * - * Returns: (transfer full): a new WiMAX NSP - **/ -GObject * -nm_wimax_nsp_new (DBusGConnection *connection, const char *path) -{ - g_return_val_if_fail (connection != NULL, NULL); - g_return_val_if_fail (path != NULL, NULL); - - return (GObject *) g_object_new (NM_TYPE_WIMAX_NSP, - NM_OBJECT_DBUS_CONNECTION, connection, - NM_OBJECT_DBUS_PATH, path, - NULL); -} - -/** * nm_wimax_nsp_get_name: * @nsp: a #NMWimaxNsp * |