diff options
Diffstat (limited to 'uca-net-camera.c')
-rw-r--r-- | uca-net-camera.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/uca-net-camera.c b/uca-net-camera.c index f265fc6..03e4996 100644 --- a/uca-net-camera.c +++ b/uca-net-camera.c @@ -491,8 +491,7 @@ deserialize_param_spec (UcaNetMessageProperty *prop) for (guint i = 0; i < prop->spec.genum.n_values; i++) { gchar *name; - name = g_strdup_printf ("%s_%i", prop->name, i); - + name = g_strdup (prop->spec.genum.value_names[i]); values[i].value = prop->spec.genum.values[i]; values[i].value_name = name; values[i].value_nick = name; |