diff options
-rw-r--r-- | plugins/mock/uca-mock-camera.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/plugins/mock/uca-mock-camera.c b/plugins/mock/uca-mock-camera.c index b829e37..8d7aed5 100644 --- a/plugins/mock/uca-mock-camera.c +++ b/plugins/mock/uca-mock-camera.c @@ -425,6 +425,9 @@ uca_mock_camera_set_property (GObject *object, guint property_id, const GValue * case PROP_DEGREE_VALUE: priv->degree_value = g_value_get_double (value); break; + case PROP_TEST_ENUM: + g_debug ("Set test-enum to `%i'", g_value_get_enum (value)); + break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec); return; @@ -476,6 +479,9 @@ uca_mock_camera_get_property(GObject *object, guint property_id, GValue *value, case PROP_DEGREE_VALUE: g_value_set_double (value, priv->degree_value); break; + case PROP_TEST_ENUM: + g_value_set_enum (value, 0); + break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID(object, property_id, pspec); break; |