summaryrefslogtreecommitdiff
path: root/libnm-glib/nm-remote-connection.c
diff options
context:
space:
mode:
authorDan Winship <danw@gnome.org>2014-06-09 16:17:37 -0400
committerDan Winship <danw@gnome.org>2014-06-19 17:45:03 -0400
commitaa1dce6da249b3eff707a6f4de0a03f3876ad514 (patch)
tree6630b16601f247624407f912b4c6242739140d4e /libnm-glib/nm-remote-connection.c
parentcdc15cb2a6312ab5e6da4618d97e003dce32c1e9 (diff)
downloadNetworkManager-aa1dce6da249b3eff707a6f4de0a03f3876ad514.tar.gz
all: remove remaining GParamSpec name/blurb strings
Remove all remaining GParamSpec name and blurb strings (and fix indentation while we're there), and add G_PARAM_STATIC_STRINGS to all paramspecs that were lacking it.
Diffstat (limited to 'libnm-glib/nm-remote-connection.c')
-rw-r--r--libnm-glib/nm-remote-connection.c33
1 files changed, 15 insertions, 18 deletions
diff --git a/libnm-glib/nm-remote-connection.c b/libnm-glib/nm-remote-connection.c
index 38911a43b4..9f5d611c34 100644
--- a/libnm-glib/nm-remote-connection.c
+++ b/libnm-glib/nm-remote-connection.c
@@ -866,27 +866,24 @@ nm_remote_connection_class_init (NMRemoteConnectionClass *remote_class)
/* Properties */
g_object_class_install_property
(object_class, PROP_BUS,
- g_param_spec_boxed (NM_REMOTE_CONNECTION_BUS,
- "DBusGConnection",
- "DBusGConnection",
- DBUS_TYPE_G_CONNECTION,
- G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY));
+ g_param_spec_boxed (NM_REMOTE_CONNECTION_BUS, "", "",
+ DBUS_TYPE_G_CONNECTION,
+ G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY |
+ G_PARAM_STATIC_STRINGS));
/* These are needed so _nm_object_create() can create NMRemoteConnections */
g_object_class_install_property
(object_class, PROP_DBUS_CONNECTION,
- g_param_spec_boxed (NM_REMOTE_CONNECTION_DBUS_CONNECTION,
- "DBusGConnection",
- "DBusGConnection",
+ g_param_spec_boxed (NM_REMOTE_CONNECTION_DBUS_CONNECTION, "", "",
DBUS_TYPE_G_CONNECTION,
- G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY));
+ G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY |
+ G_PARAM_STATIC_STRINGS));
g_object_class_install_property
(object_class, PROP_DBUS_PATH,
- g_param_spec_string (NM_REMOTE_CONNECTION_DBUS_PATH,
- "Object Path",
- "DBus Object Path",
+ g_param_spec_string (NM_REMOTE_CONNECTION_DBUS_PATH, "", "",
NULL,
- G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY));
+ G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY |
+ G_PARAM_STATIC_STRINGS));
/**
* NMRemoteConnection:unsaved:
@@ -896,12 +893,12 @@ nm_remote_connection_class_init (NMRemoteConnectionClass *remote_class)
*
* Since: 0.9.10
**/
- g_object_class_install_property (object_class, PROP_UNSAVED,
- g_param_spec_boolean (NM_REMOTE_CONNECTION_UNSAVED,
- "Unsaved",
- "Unsaved",
+ g_object_class_install_property
+ (object_class, PROP_UNSAVED,
+ g_param_spec_boolean (NM_REMOTE_CONNECTION_UNSAVED, "", "",
FALSE,
- G_PARAM_READABLE));
+ G_PARAM_READABLE |
+ G_PARAM_STATIC_STRINGS));
/* Signals */
/**