summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/cameras/uca-mock-camera.c2
-rw-r--r--src/cameras/uca-pco-camera.c2
-rw-r--r--src/cameras/uca-ufo-camera.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/cameras/uca-mock-camera.c b/src/cameras/uca-mock-camera.c
index e573d21..da186a8 100644
--- a/src/cameras/uca-mock-camera.c
+++ b/src/cameras/uca-mock-camera.c
@@ -63,7 +63,7 @@ static const gchar *mock_overrideables[N_PROPERTIES] = {
"has-camram-recording"
};
-static GParamSpec *mock_properties[N_PROPERTIES - N_INTERFACE_PROPERTIES - 1] = { NULL, };
+static GParamSpec *mock_properties[N_PROPERTIES - N_INTERFACE_PROPERTIES] = { NULL, };
struct _UcaMockCameraPrivate {
guint width;
diff --git a/src/cameras/uca-pco-camera.c b/src/cameras/uca-pco-camera.c
index 11328e9..8ee4db5 100644
--- a/src/cameras/uca-pco-camera.c
+++ b/src/cameras/uca-pco-camera.c
@@ -109,7 +109,7 @@ static const gchar *base_overrideables[N_PROPERTIES] = {
"has-camram-recording"
};
-static GParamSpec *pco_properties[N_PROPERTIES - N_INTERFACE_PROPERTIES - 1] = { NULL, };
+static GParamSpec *pco_properties[N_PROPERTIES - N_INTERFACE_PROPERTIES] = { NULL, };
/*
* This structure defines type-specific properties of PCO cameras.
diff --git a/src/cameras/uca-ufo-camera.c b/src/cameras/uca-ufo-camera.c
index 52d06fb..97e4271 100644
--- a/src/cameras/uca-ufo-camera.c
+++ b/src/cameras/uca-ufo-camera.c
@@ -84,7 +84,7 @@ static const gchar *base_overrideables[N_PROPERTIES] = {
"has-camram-recording"
};
-static GParamSpec *ufo_properties[N_PROPERTIES - N_INTERFACE_PROPERTIES - 1] = { NULL, };
+static GParamSpec *ufo_properties[N_PROPERTIES - N_INTERFACE_PROPERTIES] = { NULL, };
struct _UcaUfoCameraPrivate {