diff options
Diffstat (limited to 'libnm')
-rw-r--r-- | libnm/libnm.ver | 2 | ||||
-rw-r--r-- | libnm/nm-remote-connection.c | 17 | ||||
-rw-r--r-- | libnm/nm-remote-connection.h | 13 |
3 files changed, 0 insertions, 32 deletions
diff --git a/libnm/libnm.ver b/libnm/libnm.ver index f48582a178..89db1a7ac4 100644 --- a/libnm/libnm.ver +++ b/libnm/libnm.ver @@ -369,8 +369,6 @@ global: nm_remote_connection_delete; nm_remote_connection_delete_async; nm_remote_connection_delete_finish; - nm_remote_connection_error_get_type; - nm_remote_connection_error_quark; nm_remote_connection_get_secrets; nm_remote_connection_get_secrets_async; nm_remote_connection_get_secrets_finish; diff --git a/libnm/nm-remote-connection.c b/libnm/nm-remote-connection.c index 210c62cffc..a1f4dc9f5f 100644 --- a/libnm/nm-remote-connection.c +++ b/libnm/nm-remote-connection.c @@ -64,23 +64,6 @@ typedef struct { #define NM_REMOTE_CONNECTION_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), NM_TYPE_REMOTE_CONNECTION, NMRemoteConnectionPrivate)) -/** - * nm_remote_connection_error_quark: - * - * Registers an error quark for #NMRemoteConnection if necessary. - * - * Returns: the error quark used for #NMRemoteConnection errors. - **/ -GQuark -nm_remote_connection_error_quark (void) -{ - static GQuark quark = 0; - - if (G_UNLIKELY (quark == 0)) - quark = g_quark_from_static_string ("nm-remote-connection-error-quark"); - return quark; -} - /****************************************************************/ /** diff --git a/libnm/nm-remote-connection.h b/libnm/nm-remote-connection.h index 191a8c3fa9..3ea8037fba 100644 --- a/libnm/nm-remote-connection.h +++ b/libnm/nm-remote-connection.h @@ -38,19 +38,6 @@ G_BEGIN_DECLS #define NM_REMOTE_CONNECTION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), NM_TYPE_REMOTE_CONNECTION, NMRemoteConnectionClass)) -/** - * NMRemoteConnectionError: - * @NM_REMOTE_CONNECTION_ERROR_UNKNOWN: unknown or unclassified error - * @NM_REMOTE_CONNECTION_ERROR_DISCONNECTED: dbus disconnected - */ -typedef enum { - NM_REMOTE_CONNECTION_ERROR_UNKNOWN = 0, /*< nick=UnknownError >*/ - NM_REMOTE_CONNECTION_ERROR_DISCONNECTED, /*< nick=Disconnected >*/ -} NMRemoteConnectionError; - -#define NM_REMOTE_CONNECTION_ERROR (nm_remote_connection_error_quark ()) -GQuark nm_remote_connection_error_quark (void); - /* Properties */ #define NM_REMOTE_CONNECTION_DBUS_CONNECTION "dbus-connection" #define NM_REMOTE_CONNECTION_PATH "path" |