1 ## 11_gtk_adjustment_fix.dpatch by Marco Presi (Zufus) <zufus@debian.org>
3 ## All lines beginning with `## DP:' are a description of the patch.
4 ## DP: A patch allowing rgb and alhpa values tp 100%
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
9 adjustment = (GtkAdjustment *) gtk_adjustment_new (0.0, 0.0, 1.0, 0.01, 0.1, 0.1);
12 +#if GTK_CHECK_VERSION (2,14,0)
14 + gtk_adjustment_set_page_increment(adjustment, 0.0);
15 + gtk_adjustment_set_page_size(adjustment, 0.0);
20 if (slider->adjustment != adjustment) {
21 if (slider->adjustment) {
22 gtk_signal_disconnect_by_data (GTK_OBJECT (slider->adjustment), slider);