all: trivial: use g_value_dup_string ()

This commit is contained in:
Lubomir Rintel
2016-05-30 16:11:28 +02:00
parent 04852d2877
commit e96f0e6349
3 changed files with 4 additions and 4 deletions

View File

@@ -834,7 +834,7 @@ set_property (GObject *object, guint prop_id,
switch (prop_id) {
case PROP_IFACE:
/* construct-only */
priv->iface = g_strdup (g_value_get_string (value));
priv->iface = g_value_dup_string (value);
break;
case PROP_IFINDEX:
/* construct-only */