diff options
Diffstat (limited to 'src/xsane-batch-scan.c')
-rw-r--r-- | src/xsane-batch-scan.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/xsane-batch-scan.c b/src/xsane-batch-scan.c index bf5f57c..c7ae532 100644 --- a/src/xsane-batch-scan.c +++ b/src/xsane-batch-scan.c @@ -505,14 +505,11 @@ static void xsane_batch_scan_scan_list(void) while (xsane.scanning) { -#if 0 + /* we MUST call gtk_events_pending() or gdk_input_add will not work! */ if (gtk_events_pending()) { gtk_main_iteration(); } -#elseif - gtk_main_iteration(); -#endif } if ( (xsane.status_of_last_scan != SANE_STATUS_GOOD) && (xsane.status_of_last_scan != SANE_STATUS_EOF) ) |