diff options
author | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2016-02-18 15:31:18 +0100 |
---|---|---|
committer | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2016-02-18 15:31:18 +0100 |
commit | 127005ae839abd13c1ba53a719be0500f07fb610 (patch) | |
tree | 0fa6d7892a12d079f83c96a16d2f70bcfb5b5086 /uca-net-camera.c | |
parent | 78ef5159fcc54dc8d4fa30a5949a8676e0d304c0 (diff) | |
download | uca-net-127005ae839abd13c1ba53a719be0500f07fb610.tar.gz uca-net-127005ae839abd13c1ba53a719be0500f07fb610.tar.bz2 uca-net-127005ae839abd13c1ba53a719be0500f07fb610.tar.xz uca-net-127005ae839abd13c1ba53a719be0500f07fb610.zip |
Support custom string properties
Diffstat (limited to 'uca-net-camera.c')
-rw-r--r-- | uca-net-camera.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/uca-net-camera.c b/uca-net-camera.c index d9d561b..aefb175 100644 --- a/uca-net-camera.c +++ b/uca-net-camera.c @@ -469,6 +469,10 @@ deserialize_param_spec (UcaNetMessageProperty *prop) return g_param_spec_boolean (prop->name, prop->nick, prop->blurb, prop->spec.gboolean.default_value, prop->flags); + case G_TYPE_STRING: + return g_param_spec_string (prop->name, prop->nick, prop->blurb, + prop->spec.gstring.default_value, + prop->flags); CASE_NUMERIC (G_TYPE_INT, int) CASE_NUMERIC (G_TYPE_UINT, uint) CASE_NUMERIC (G_TYPE_FLOAT, float) |