summaryrefslogtreecommitdiffstats
path: root/src/uca-camera.c
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2012-03-08 11:24:12 +0100
committerMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2012-03-08 11:24:12 +0100
commitd856ae8dc3ef07e6aa568cdbc2f5a2a8296778f3 (patch)
treecd37942d7f87ab3baf95ff25fedf6f609a4df378 /src/uca-camera.c
parenteae2ae49770bcbcdbac3997676c71820dd53fdcc (diff)
downloaduca-d856ae8dc3ef07e6aa568cdbc2f5a2a8296778f3.tar.gz
uca-d856ae8dc3ef07e6aa568cdbc2f5a2a8296778f3.tar.bz2
uca-d856ae8dc3ef07e6aa568cdbc2f5a2a8296778f3.tar.xz
uca-d856ae8dc3ef07e6aa568cdbc2f5a2a8296778f3.zip
Quick fix for openSUSE 11.3 with GLib 2.24
Diffstat (limited to 'src/uca-camera.c')
-rw-r--r--src/uca-camera.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/uca-camera.c b/src/uca-camera.c
index 2d2963b..5b30798 100644
--- a/src/uca-camera.c
+++ b/src/uca-camera.c
@@ -373,7 +373,8 @@ void uca_camera_start_recording(UcaCamera *camera, GError **error)
if (tmp_error == NULL) {
camera->priv->is_recording = TRUE;
- g_object_notify_by_pspec(G_OBJECT(camera), camera_properties[PROP_IS_RECORDING]);
+ /* TODO: we should depend on GLib 2.26 and use g_object_notify_by_pspec */
+ g_object_notify(G_OBJECT(camera), "is-recording");
}
else
g_propagate_error(error, tmp_error);
@@ -406,7 +407,8 @@ void uca_camera_stop_recording(UcaCamera *camera, GError **error)
if (tmp_error == NULL) {
camera->priv->is_recording = FALSE;
- g_object_notify_by_pspec(G_OBJECT(camera), camera_properties[PROP_IS_RECORDING]);
+ /* TODO: we should depend on GLib 2.26 and use g_object_notify_by_pspec */
+ g_object_notify(G_OBJECT(camera), "is-recording");
}
else
g_propagate_error(error, tmp_error);