summaryrefslogtreecommitdiff
path: root/src/xsane.h
diff options
context:
space:
mode:
authorJulien BLACHE <jblache@debian.org>2007-11-22 11:42:18 +0100
committerMattia Rizzolo <mattia@mapreri.org>2014-10-03 14:05:42 +0000
commit95475333e13157b2a9b62c57be7c82d99e0c4460 (patch)
tree3726327549b591aba1510ff4e56317c12b276243 /src/xsane.h
parent0db1f3318701235603f80455d7d1e5c1709e5eb1 (diff)
parent41b1173190f702693b0b4fd2654cf2dc28a447f4 (diff)
Imported Debian patch 0.995-1debian/0.995-1
Diffstat (limited to 'src/xsane.h')
-rw-r--r--src/xsane.h17
1 files changed, 9 insertions, 8 deletions
diff --git a/src/xsane.h b/src/xsane.h
index 5cde44a..c5beb0e 100644
--- a/src/xsane.h
+++ b/src/xsane.h
@@ -91,7 +91,7 @@
/* ---------------------------------------------------------------------------------------------------------------------- */
-#define XSANE_VERSION "0.994"
+#define XSANE_VERSION "0.995"
#define XSANE_AUTHOR "Oliver Rauch"
#define XSANE_COPYRIGHT "Oliver Rauch"
#define XSANE_DATE "1998-2007"
@@ -103,6 +103,7 @@
#define XSANE_DEBUG_ENVIRONMENT "XSANE_DEBUG"
+#define XSANE_PROGRESS_BAR_MIN_DELTA_PERCENT 0.025
#define XSANE_DEFAULT_UMASK 0007
#define XSANE_HOLD_TIME 200
#define XSANE_CONTINUOUS_HOLD_TIME 10
@@ -305,6 +306,12 @@
/* ---------------------------------------------------------------------------------------------------------------------- */
+#ifndef PATH_MAX
+# define PATH_MAX 1024
+#endif
+
+/* ---------------------------------------------------------------------------------------------------------------------- */
+
enum
{
XSANE_PATH_LOCAL_SANE = 0,
@@ -497,12 +504,6 @@ extern void xsane_interface(int argc, char **argv);
extern void xsane_batch_scan_add(void);
/* ---------------------------------------------------------------------------------------------------------------------- */
-
-#ifndef PATH_MAX
-# define PATH_MAX 1024
-#endif
-
-/* ---------------------------------------------------------------------------------------------------------------------- */
#ifndef TEMP_PATH
# define TEMP_PATH /tmp/
#endif
@@ -1040,7 +1041,7 @@ typedef struct XsaneSetup
GtkWidget *preview_threshold_mul_entry;
GtkWidget *preview_threshold_off_entry;
GtkWidget *auto_enhance_gamma_button;
- GtkWidget *preselect_scanarea_button;
+ GtkWidget *preselect_scan_area_button;
GtkWidget *auto_correct_colors_button;
GtkWidget *disable_gimp_preview_gamma_button;
GtkWidget *preview_oversampling_entry;