diff options
author | Mattia Rizzolo <mattia@mapreri.org> | 2014-10-03 14:05:09 +0000 |
---|---|---|
committer | Mattia Rizzolo <mattia@mapreri.org> | 2014-10-03 14:05:09 +0000 |
commit | 6fceea28608be0fda32d94f59e1b1550774318a0 (patch) | |
tree | 9be4df525ab59533784ce0c8d441d61130b59e76 /src/xsane-batch-scan.c | |
parent | 817e6294b42b3e4435f1b99728afc1dca84a6445 (diff) |
Imported Upstream version 0.98upstream/0.98
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) ) |