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/uca-camera.c | |
parent | 6cabdcdc0c51d567e87106d4d3222a4b89ea8f20 (diff) | |
download | uca-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/uca-camera.c')
-rw-r--r-- | src/uca-camera.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/uca-camera.c b/src/uca-camera.c index 57b4e50..00bda82 100644 --- a/src/uca-camera.c +++ b/src/uca-camera.c @@ -153,15 +153,6 @@ static void uca_camera_class_init(UcaCameraClass *klass) for (guint id = PROP_0 + 1; id < N_PROPERTIES; id++) g_object_class_install_property(gobject_class, id, camera_properties[id]); - camera_signals[PROPERTY_CHANGED] = - g_signal_new("property-changed", - G_OBJECT_CLASS_TYPE(gobject_class), - G_SIGNAL_RUN_FIRST, - G_STRUCT_OFFSET(UcaCameraClass, property_changed), - NULL, NULL, - g_cclosure_marshal_VOID__STRING, - G_TYPE_NONE, 1, G_TYPE_STRING); - camera_signals[RECORDING_STARTED] = g_signal_new("recording-started", G_OBJECT_CLASS_TYPE(gobject_class), |