summaryrefslogtreecommitdiffstats
path: root/src/cameras
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
parent6cabdcdc0c51d567e87106d4d3222a4b89ea8f20 (diff)
downloadlibuca-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')
-rw-r--r--src/cameras/uca-mock-camera.c2
-rw-r--r--src/cameras/uca-pco-camera.c2
2 files changed, 0 insertions, 4 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)
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)