diff options
author | Matthias Vogelgesang <matthias.vogelgesang@gmail.com> | 2012-07-12 14:09:33 +0200 |
---|---|---|
committer | Matthias Vogelgesang <matthias.vogelgesang@gmail.com> | 2012-07-12 14:09:33 +0200 |
commit | eb26267fd5acaad3a8b89d72320267a93b4003aa (patch) | |
tree | ccaf2591005cfd8915c69b8a29a455735f953b24 /test/control.c | |
parent | 887fe652b77f76e4b404102df180480d4fc97f2b (diff) | |
download | uca-eb26267fd5acaad3a8b89d72320267a93b4003aa.tar.gz uca-eb26267fd5acaad3a8b89d72320267a93b4003aa.tar.bz2 uca-eb26267fd5acaad3a8b89d72320267a93b4003aa.tar.xz uca-eb26267fd5acaad3a8b89d72320267a93b4003aa.zip |
Remove scale widget
Diffstat (limited to 'test/control.c')
-rw-r--r-- | test/control.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/test/control.c b/test/control.c index 1e07eb5..96a476f 100644 --- a/test/control.c +++ b/test/control.c @@ -45,7 +45,6 @@ typedef struct { int width; int height; int pixel_size; - float scale; } ThreadData; typedef struct { @@ -143,12 +142,6 @@ void on_destroy(GtkWidget *widget, gpointer data) gtk_main_quit(); } -void on_adjustment_scale_value_changed(GtkAdjustment* adjustment, gpointer user_data) -{ - ThreadData *data = (ThreadData *) user_data; - data->scale = gtk_adjustment_get_value(adjustment); -} - static void on_toolbutton_run_clicked(GtkWidget *widget, gpointer args) { ThreadData *data = (ThreadData *) args; @@ -238,7 +231,6 @@ static void create_main_window(GtkBuilder *builder, const gchar* camera_name) td.buffer = (guchar *) g_malloc(td.pixel_size * td.width * td.height); td.pixels = gdk_pixbuf_get_pixels(pixbuf); td.running = FALSE; - td.scale = 65535.0f; td.statusbar = GTK_STATUSBAR(gtk_builder_get_object(builder, "statusbar")); td.statusbar_context_id = gtk_statusbar_get_context_id(td.statusbar, "Recording Information"); td.store = FALSE; |