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-remote-connection.h | |
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-remote-connection.h')
-rw-r--r-- | libnm/nm-remote-connection.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libnm/nm-remote-connection.h b/libnm/nm-remote-connection.h index e437ab554b..c5912e44f8 100644 --- a/libnm/nm-remote-connection.h +++ b/libnm/nm-remote-connection.h @@ -51,6 +51,7 @@ typedef enum { GQuark nm_remote_connection_error_quark (void); /* Properties */ +#define NM_REMOTE_CONNECTION_BUS "bus" #define NM_REMOTE_CONNECTION_UNSAVED "unsaved" /* Signals */ @@ -110,9 +111,6 @@ typedef void (*NMRemoteConnectionGetSecretsFunc) (NMRemoteConnection *connection GType nm_remote_connection_get_type (void); -NMRemoteConnection *nm_remote_connection_new (DBusGConnection *bus, - const char *path); - void nm_remote_connection_commit_changes (NMRemoteConnection *connection, NMRemoteConnectionResultFunc callback, gpointer user_data); |