From 081bbb4d5959c4999993fd2e2ce9298b9dfaa12c Mon Sep 17 00:00:00 2001 From: Maria Date: Thu, 19 Sep 2013 15:53:11 +0200 Subject: Fixed faster zoom. --- bin/gui/control.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/gui/control.c b/bin/gui/control.c index 504eb86..069b825 100644 --- a/bin/gui/control.c +++ b/bin/gui/control.c @@ -588,7 +588,7 @@ on_start_button_clicked (GtkWidget *widget, ThreadData *data) } static void -on_stop_button_clicked (GtkWidget *widget, ThreadData *data) +on_stop_button_clicked (GtkWidget *widget, ThreadData *data, GtkAdjustment *adjustment) { GError *error = NULL; @@ -597,6 +597,8 @@ on_stop_button_clicked (GtkWidget *widget, ThreadData *data) set_tool_button_state (data); uca_camera_stop_recording (data->camera, &error); + on_frame_slider_changed (adjustment, data); + if (error != NULL) g_printerr ("Failed to stop: %s\n", error->message); -- cgit v1.2.3