From f8d3dc2c2372b79c76d313696e98f9b2932f9ea6 Mon Sep 17 00:00:00 2001 From: Matthias Vogelgesang Date: Tue, 16 Feb 2016 13:38:12 +0100 Subject: mock: remove binnings --- plugins/mock/uca-mock-camera.c | 6 ------ 1 file changed, 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; -- cgit v1.2.3