mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-05 07:38:20 +02:00
core/trivial: add comment in set_property() for construct-only properties
(cherry picked from commit fc0430b1ab)
This commit is contained in:
parent
33d33be6af
commit
8c0f322892
1 changed files with 3 additions and 0 deletions
|
|
@ -1236,6 +1236,7 @@ set_property (GObject *object, guint prop_id,
|
|||
nm_active_connection_set_device (self, g_value_get_object (value));
|
||||
break;
|
||||
case PROP_INT_SUBJECT:
|
||||
/* construct-only */
|
||||
priv->subject = g_value_dup_object (value);
|
||||
break;
|
||||
case PROP_INT_MASTER:
|
||||
|
|
@ -1251,6 +1252,7 @@ set_property (GObject *object, guint prop_id,
|
|||
_set_activation_type (self, (NMActivationType) i);
|
||||
break;
|
||||
case PROP_SPECIFIC_OBJECT:
|
||||
/* construct-only */
|
||||
tmp = g_value_get_string (value);
|
||||
/* NM uses "/" to mean NULL */
|
||||
if (g_strcmp0 (tmp, "/") != 0)
|
||||
|
|
@ -1263,6 +1265,7 @@ set_property (GObject *object, guint prop_id,
|
|||
priv->is_default6 = g_value_get_boolean (value);
|
||||
break;
|
||||
case PROP_VPN:
|
||||
/* construct-only */
|
||||
priv->vpn = g_value_get_boolean (value);
|
||||
break;
|
||||
case PROP_MASTER:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue