summaryrefslogtreecommitdiffstats
path: root/src/cameras/uca-mock-camera.c
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2012-03-04 11:02:07 +0100
committerMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2012-03-04 11:02:07 +0100
commitcf05bc395e1604dab0ad9ae7f0c70f7bd5aa09a7 (patch)
treea827f5aefd7867f924297d4da7faf25bdb4ad8d7 /src/cameras/uca-mock-camera.c
parent6cabdcdc0c51d567e87106d4d3222a4b89ea8f20 (diff)
downloaduca-cf05bc395e1604dab0ad9ae7f0c70f7bd5aa09a7.tar.gz
uca-cf05bc395e1604dab0ad9ae7f0c70f7bd5aa09a7.tar.bz2
uca-cf05bc395e1604dab0ad9ae7f0c70f7bd5aa09a7.tar.xz
uca-cf05bc395e1604dab0ad9ae7f0c70f7bd5aa09a7.zip
Remove "property-changed" signal
There is already the nice "notify" signal that does essentially the same with a twist. It also allows per-property signals by calling g_signal_connect(cam, "notify::cooling-point", G_CALLBACK(func), NULL); Nice.
Diffstat (limited to 'src/cameras/uca-mock-camera.c')
-rw-r--r--src/cameras/uca-mock-camera.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/cameras/uca-mock-camera.c b/src/cameras/uca-mock-camera.c
index c4f790d..94645af 100644
--- a/src/cameras/uca-mock-camera.c
+++ b/src/cameras/uca-mock-camera.c
@@ -98,8 +98,6 @@ static void uca_mock_camera_set_property(GObject *object, guint property_id, con
G_OBJECT_WARN_INVALID_PROPERTY_ID(object, property_id, pspec);
return;
}
-
- g_signal_emit_by_name(object, "property-changed", pspec->name);
}
static void uca_mock_camera_get_property(GObject *object, guint property_id, GValue *value, GParamSpec *pspec)