diff options
-rw-r--r-- | src/cameras/uca-mock-camera.c | 2 | ||||
-rw-r--r-- | src/cameras/uca-pco-camera.c | 2 | ||||
-rw-r--r-- | src/uca-camera.c | 9 | ||||
-rw-r--r-- | src/uca-camera.h | 1 |
4 files changed, 0 insertions, 14 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) 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), diff --git a/src/uca-camera.h b/src/uca-camera.h index 1a6e6d1..59a0670 100644 --- a/src/uca-camera.h +++ b/src/uca-camera.h @@ -57,7 +57,6 @@ struct _UcaCameraClass { void (*stop_recording) (UcaCamera *camera, GError **error); void (*grab) (UcaCamera *camera, gchar *data, GError **error); - void (*property_changed) (UcaCamera *camera, const gchar *name, gpointer user_data); void (*recording_started) (UcaCamera *camera); void (*recording_stopped) (UcaCamera *camera); }; |