From a0e9a4bd45f25548f1fe580ddaf96ca6ff567721 Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Fri, 9 May 2014 15:14:37 -0400 Subject: libnm: remove _new functions from NMObject subclasses Most NMObjects should not be manually created, they should only be received from NMClient or NMRemoteSettings. --- libnm/nm-remote-connection.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'libnm/nm-remote-connection.h') 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); -- cgit v1.2.1