summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2016-02-16 13:38:12 +0100
committerMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2016-02-16 13:38:12 +0100
commitf8d3dc2c2372b79c76d313696e98f9b2932f9ea6 (patch)
treeb56240e64dd99a1e119db87d7ed946e0e7171a09
parent510369e27aca89da08d99b90710a9bc419315063 (diff)
downloaduca-f8d3dc2c2372b79c76d313696e98f9b2932f9ea6.tar.gz
uca-f8d3dc2c2372b79c76d313696e98f9b2932f9ea6.tar.bz2
uca-f8d3dc2c2372b79c76d313696e98f9b2932f9ea6.tar.xz
uca-f8d3dc2c2372b79c76d313696e98f9b2932f9ea6.zip
mock: remove binnings
-rw-r--r--plugins/mock/uca-mock-camera.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/plugins/mock/uca-mock-camera.c b/plugins/mock/uca-mock-camera.c
index badc042..ad300d2 100644
--- a/plugins/mock/uca-mock-camera.c
+++ b/plugins/mock/uca-mock-camera.c
@@ -71,7 +71,6 @@ struct _UcaMockCameraPrivate {
gboolean thread_running;
GThread *grab_thread;
- GValueArray *binnings;
};
static const char g_digits[16][20] = {
@@ -456,8 +455,6 @@ uca_mock_camera_finalize(GObject *object)
}
g_free (priv->dummy_data);
- g_value_array_free (priv->binnings);
-
g_free (priv->default_line);
G_OBJECT_CLASS (uca_mock_camera_parent_class)->finalize(object);
@@ -544,14 +541,11 @@ uca_mock_camera_init(UcaMockCamera *self)
self->priv->exposure_time = 0.05;
self->priv->create_random = TRUE;
- self->priv->binnings = g_value_array_new(1);
self->priv->rand = g_rand_new ();
GValue val = {0};
g_value_init(&val, G_TYPE_UINT);
g_value_set_uint(&val, 1);
- g_value_array_append(self->priv->binnings, &val);
-
/* will be set in initable_init */
self->priv->width = self->priv->roi_width = 512;