summaryrefslogtreecommitdiff
path: root/libnm/nm-remote-connection.h
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-remote-connection.h
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-remote-connection.h')
-rw-r--r--libnm/nm-remote-connection.h4
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);