diff options
author | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2012-03-04 11:02:07 +0100 |
---|---|---|
committer | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2012-03-04 11:02:07 +0100 |
commit | cf05bc395e1604dab0ad9ae7f0c70f7bd5aa09a7 (patch) | |
tree | a827f5aefd7867f924297d4da7faf25bdb4ad8d7 /src/cameras/uca-pco-camera.c | |
parent | 6cabdcdc0c51d567e87106d4d3222a4b89ea8f20 (diff) | |
download | libuca-cf05bc395e1604dab0ad9ae7f0c70f7bd5aa09a7.tar.gz libuca-cf05bc395e1604dab0ad9ae7f0c70f7bd5aa09a7.tar.bz2 libuca-cf05bc395e1604dab0ad9ae7f0c70f7bd5aa09a7.tar.xz libuca-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-pco-camera.c')
-rw-r--r-- | src/cameras/uca-pco-camera.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/cameras/uca-pco-camera.c b/src/cameras/uca-pco-camera.c index b58e506..0f8ca14 100644 --- a/src/cameras/uca-pco-camera.c +++ b/src/cameras/uca-pco-camera.c @@ -267,8 +267,6 @@ static void uca_pco_camera_set_property(GObject *object, guint property_id, cons G_OBJECT_WARN_INVALID_PROPERTY_ID(object, property_id, pspec); return; } - - g_signal_emit_by_name(object, "property-changed", pspec->name); } static void uca_pco_camera_get_property(GObject *object, guint property_id, GValue *value, GParamSpec *pspec) |