diff options
author | Maria <matveeva.maria@gmail.com> | 2013-09-19 15:53:11 +0200 |
---|---|---|
committer | Maria <matveeva.maria@gmail.com> | 2013-09-19 15:53:11 +0200 |
commit | 081bbb4d5959c4999993fd2e2ce9298b9dfaa12c (patch) | |
tree | 19c447e2854885d0b074aee3640b754668f4f6bd /bin | |
parent | bbfec5e1eef0286df7315931238a9f588e265328 (diff) | |
download | libuca-081bbb4d5959c4999993fd2e2ce9298b9dfaa12c.tar.gz libuca-081bbb4d5959c4999993fd2e2ce9298b9dfaa12c.tar.bz2 libuca-081bbb4d5959c4999993fd2e2ce9298b9dfaa12c.tar.xz libuca-081bbb4d5959c4999993fd2e2ce9298b9dfaa12c.zip |
Fixed faster zoom.
Diffstat (limited to 'bin')
-rw-r--r-- | bin/gui/control.c | 4 |
1 files changed, 3 insertions, 1 deletions
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); |