summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2019-10-16 17:01:44 +0200
committerThomas Haller <thaller@redhat.com>2019-10-18 22:09:18 +0200
commit57c1b03c5cece6dc3ad36a66561881e2047ede53 (patch)
treefed64d2ce4d3fd47fd23539945d1378ff0580e0f
parentf1bd85634a50bf0d24cf66472ea9e4757621c695 (diff)
downloadNetworkManager-57c1b03c5cece6dc3ad36a66561881e2047ede53.tar.gz
libnm: add G_PARAM_STATIC_STRINGS flag to NM_VPN_SERVICE_PLUGIN_DBUS_WATCH_PEER property
-rw-r--r--libnm/nm-vpn-service-plugin.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libnm/nm-vpn-service-plugin.c b/libnm/nm-vpn-service-plugin.c
index ea8a085a21..95172f7bbf 100644
--- a/libnm/nm-vpn-service-plugin.c
+++ b/libnm/nm-vpn-service-plugin.c
@@ -1227,7 +1227,8 @@ nm_vpn_service_plugin_class_init (NMVpnServicePluginClass *plugin_class)
g_param_spec_boolean (NM_VPN_SERVICE_PLUGIN_DBUS_WATCH_PEER, "", "",
FALSE,
G_PARAM_READWRITE |
- G_PARAM_CONSTRUCT_ONLY));
+ G_PARAM_CONSTRUCT_ONLY |
+ G_PARAM_STATIC_STRINGS));
/**
* NMVpnServicePlugin:state: