]> git.pld-linux.org Git - packages/inkscape.git/blob - inkscape-slider.patch
- initial revision
[packages/inkscape.git] / inkscape-slider.patch
1 ## 11_gtk_adjustment_fix.dpatch by Marco Presi (Zufus) <zufus@debian.org>
2 ##
3 ## All lines beginning with `## DP:' are a description of the patch.
4 ## DP: A patch allowing rgb and alhpa values tp 100%
5
6 --- inkscape-0.46/src/widgets/sp-color-slider.cpp.orig  2009-04-24 09:56:45.000000000 +0200
7 +++ inkscape-0.46/src/widgets/sp-color-slider.cpp       2009-04-24 09:58:06.000000000 +0200
8 @@ -334,6 +334,14 @@
9                 adjustment = (GtkAdjustment *) gtk_adjustment_new (0.0, 0.0, 1.0, 0.01, 0.1, 0.1);
10         }
11  
12 +#if GTK_CHECK_VERSION (2,14,0)
13 +        else {
14 +                gtk_adjustment_set_page_increment(adjustment, 0.0);
15 +                gtk_adjustment_set_page_size(adjustment, 0.0);
16 +        }
17 +#endif
18 +
19 +
20         if (slider->adjustment != adjustment) {
21                 if (slider->adjustment) {
22                         gtk_signal_disconnect_by_data (GTK_OBJECT (slider->adjustment), slider);
This page took 0.023885 seconds and 3 git commands to generate.