summaryrefslogtreecommitdiff
path: root/libnm-glib
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2017-03-08 13:43:56 +0100
committerThomas Haller <thaller@redhat.com>2017-03-08 13:47:00 +0100
commitab6e37019552c9ff0ab4cd3d0e4047bca97a6211 (patch)
tree02072f53aeca51c2a1624045dc2358490073694e /libnm-glib
parent556b7c3b4597405242e5fe2a557a9dc480858dae (diff)
all/trivial: unify construct-only property comments
Unify marking GObject properties that are G_PARAM_CONSTRUCT_ONLY with a comment /* construct-only */
Diffstat (limited to 'libnm-glib')
-rw-r--r--libnm-glib/nm-device.c2
-rw-r--r--libnm-glib/nm-object.c4
-rw-r--r--libnm-glib/nm-remote-connection.c2
-rw-r--r--libnm-glib/nm-remote-settings.c2
-rw-r--r--libnm-glib/nm-vpn-plugin.c2
5 files changed, 6 insertions, 6 deletions
diff --git a/libnm-glib/nm-device.c b/libnm-glib/nm-device.c
index 48ad8897be..b5575e3908 100644
--- a/libnm-glib/nm-device.c
+++ b/libnm-glib/nm-device.c
@@ -519,7 +519,7 @@ set_property (GObject *object,
switch (prop_id) {
case PROP_DEVICE_TYPE:
- /* Construct only */
+ /* construct-only */
priv->device_type = g_value_get_uint (value);
break;
case PROP_MANAGED:
diff --git a/libnm-glib/nm-object.c b/libnm-glib/nm-object.c
index 4d77a86cfb..2e07ff6d1f 100644
--- a/libnm-glib/nm-object.c
+++ b/libnm-glib/nm-object.c
@@ -369,11 +369,11 @@ set_property (GObject *object, guint prop_id,
switch (prop_id) {
case PROP_DBUS_CONNECTION:
- /* Construct only */
+ /* construct-only */
priv->connection = g_value_dup_boxed (value);
break;
case PROP_DBUS_PATH:
- /* Construct only */
+ /* construct-only */
priv->path = g_value_dup_string (value);
break;
default:
diff --git a/libnm-glib/nm-remote-connection.c b/libnm-glib/nm-remote-connection.c
index 5c07f0ecec..d147365b79 100644
--- a/libnm-glib/nm-remote-connection.c
+++ b/libnm-glib/nm-remote-connection.c
@@ -796,7 +796,7 @@ set_property (GObject *object, guint prop_id,
switch (prop_id) {
case PROP_BUS:
case PROP_DBUS_CONNECTION:
- /* Construct only */
+ /* construct-only */
/* priv->bus is set from either of two properties so that it (a) remains
* backwards compatible with the previous "bus" property, and that (b)
* it can be created just like an NMObject using the "dbus-connection",
diff --git a/libnm-glib/nm-remote-settings.c b/libnm-glib/nm-remote-settings.c
index 6e90db1958..3f2c50f24b 100644
--- a/libnm-glib/nm-remote-settings.c
+++ b/libnm-glib/nm-remote-settings.c
@@ -1429,7 +1429,7 @@ set_property (GObject *object, guint prop_id,
switch (prop_id) {
case PROP_BUS:
- /* Construct only */
+ /* construct-only */
priv->bus = g_value_dup_boxed (value);
if (!priv->bus)
priv->bus = _nm_dbus_new_connection (NULL);
diff --git a/libnm-glib/nm-vpn-plugin.c b/libnm-glib/nm-vpn-plugin.c
index 0ea30b58a3..4c4c3161c9 100644
--- a/libnm-glib/nm-vpn-plugin.c
+++ b/libnm-glib/nm-vpn-plugin.c
@@ -799,7 +799,7 @@ set_property (GObject *object, guint prop_id,
switch (prop_id) {
case PROP_DBUS_SERVICE_NAME:
- /* Construct-only */
+ /* construct-only */
priv->dbus_service_name = g_value_dup_string (value);
break;
case PROP_STATE: