summaryrefslogtreecommitdiffstats
path: root/src/cameras/uca-mock-camera.c
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2012-03-02 17:51:45 +0100
committerMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2012-03-02 17:51:45 +0100
commit3761b79dc771022e2f39fb22708d7436f5f02e12 (patch)
tree8cff21b8b1b1fa0af237596e7612c0631fb3516e /src/cameras/uca-mock-camera.c
parent5ce0955086c2360d5f5346270759fb7d96cc4a70 (diff)
downloaduca-3761b79dc771022e2f39fb22708d7436f5f02e12.tar.gz
uca-3761b79dc771022e2f39fb22708d7436f5f02e12.tar.bz2
uca-3761b79dc771022e2f39fb22708d7436f5f02e12.tar.xz
uca-3761b79dc771022e2f39fb22708d7436f5f02e12.zip
Test property signals
Diffstat (limited to 'src/cameras/uca-mock-camera.c')
-rw-r--r--src/cameras/uca-mock-camera.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cameras/uca-mock-camera.c b/src/cameras/uca-mock-camera.c
index 0803ec0..8a40bcd 100644
--- a/src/cameras/uca-mock-camera.c
+++ b/src/cameras/uca-mock-camera.c
@@ -87,7 +87,9 @@ static void uca_mock_camera_grab(UcaCamera *camera, gchar *data, GError **error)
static void uca_mock_camera_set_property(GObject *object, guint property_id, const GValue *value, GParamSpec *pspec)
{
+ g_return_if_fail(UCA_IS_MOCK_CAMERA(object));
UcaMockCameraPrivate *priv = UCA_MOCK_CAMERA_GET_PRIVATE(object);
+ g_signal_emit_by_name(object, "property-changed", pspec->name, NULL);
switch (property_id) {
case PROP_FRAMERATE: