From fce1b3762b2a3b3035b9a3c2a6be038bde10aa1c Mon Sep 17 00:00:00 2001 From: Matthias Vogelgesang Date: Wed, 10 Oct 2012 09:49:49 +0200 Subject: Set timestamp as enum not flag --- plugins/pco/uca-pco-camera.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/pco/uca-pco-camera.c b/plugins/pco/uca-pco-camera.c index 791d154..725ffbf 100644 --- a/plugins/pco/uca-pco-camera.c +++ b/plugins/pco/uca-pco-camera.c @@ -834,7 +834,7 @@ uca_pco_camera_set_property(GObject *object, guint property_id, const GValue *va TIMESTAMP_MODE_ASCII, }; - err = pco_set_timestamp_mode(priv->pco, table[g_value_get_flags(value)]); + err = pco_set_timestamp_mode(priv->pco, table[g_value_get_enum(value)]); } break; -- cgit v1.2.3