summaryrefslogtreecommitdiff
path: root/debian/patches/fix_spin_button_pagesize.patch
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2014-12-16 13:51:41 +0100
committerJörg Frings-Fürst <debian@jff-webhosting.net>2014-12-16 13:51:41 +0100
commit37d9e876966aea3c5dd7e61326b7486aa2d593c5 (patch)
tree577707fbcd4ffa280c3e1644e4ce48f06de7defd /debian/patches/fix_spin_button_pagesize.patch
parent81369a5ae42dd8686eeec40e420eca1d409700d3 (diff)
Imported Upstream version 0.999upstream/0.999upstream
Diffstat (limited to 'debian/patches/fix_spin_button_pagesize.patch')
-rw-r--r--debian/patches/fix_spin_button_pagesize.patch46
1 files changed, 0 insertions, 46 deletions
diff --git a/debian/patches/fix_spin_button_pagesize.patch b/debian/patches/fix_spin_button_pagesize.patch
deleted file mode 100644
index ba0b5de..0000000
--- a/debian/patches/fix_spin_button_pagesize.patch
+++ /dev/null
@@ -1,46 +0,0 @@
-Description: Fix spin buttons usage for newer versions of GTK+ 2.0
- Set adjustment page size to 0 for spin buttons. Fix for newer GTK
- versions, silences runtime warnings.
-Author: Julien BLACHE <jblache@debian.org>
-Forwarded: no
-
-Index: xsane-0.998/src/xsane-back-gtk.c
-===================================================================
---- xsane-0.998.orig/src/xsane-back-gtk.c 2011-02-04 19:50:46.000000000 +0100
-+++ xsane-0.998/src/xsane-back-gtk.c 2011-02-04 19:54:55.581016002 +0100
-@@ -2028,6 +2028,7 @@
- digits = 5;
- }
- #endif
-+ gtk_adjustment_set_page_size(GTK_ADJUSTMENT(elem->data), 0);
- spinbutton = gtk_spin_button_new(GTK_ADJUSTMENT(elem->data), 0, digits);
-
- if (preferences.show_range_mode & 3) /* slider also visible */
-@@ -2129,6 +2130,7 @@
- digits = 5;
- }
- #endif
-+ gtk_adjustment_set_page_size(GTK_ADJUSTMENT(elem->data), 0);
- spinbutton = gtk_spin_button_new(GTK_ADJUSTMENT(elem->data), 0, digits);
-
- if (preferences.show_range_mode & 3) /* sliders are visible */
-Index: xsane-0.998/src/xsane-front-gtk.c
-===================================================================
---- xsane-0.998.orig/src/xsane-front-gtk.c 2011-02-04 19:50:46.000000000 +0100
-+++ xsane-0.998/src/xsane-front-gtk.c 2011-02-04 19:54:55.581016002 +0100
-@@ -1163,6 +1163,7 @@
- /* spinbutton */
- if (preferences.show_range_mode & 4)
- {
-+ gtk_adjustment_set_page_size(GTK_ADJUSTMENT(*data), 0);
- spinbutton = gtk_spin_button_new(GTK_ADJUSTMENT(*data), 0, digits);
- if (preferences.show_range_mode & 3) /* slider also visible */
- {
-@@ -1255,6 +1256,7 @@
- /* spinbutton */
- if (preferences.show_range_mode & 4)
- {
-+ gtk_adjustment_set_page_size(GTK_ADJUSTMENT(*data), 0);
- spinbutton = gtk_spin_button_new(GTK_ADJUSTMENT(*data), 0, digits);
- gtk_widget_set_size_request(spinbutton, 60, -1);
- xsane_back_gtk_set_tooltip(xsane.tooltips, spinbutton, desc);