[gimp/gimp-2-10] plug-ins: in image-map, fix spin-scale adjustment



commit 2114d63c1816a0fa50aedafa03b014b13cac607e
Author: Ell <ell_se yahoo com>
Date:   Tue Jan 1 07:28:36 2019 -0500

    plug-ins: in image-map, fix spin-scale adjustment
    
    Fix deprecated use of non-zero page size for a spin-button
    GtkAdjustment, and increase the page increment.
    
    (cherry picked from commit 192bc9536c01770734a8c30e191c5ff93160ac83)

 plug-ins/imagemap/imap_table.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/plug-ins/imagemap/imap_table.c b/plug-ins/imagemap/imap_table.c
index 0d35472b4f..84c35a0de6 100644
--- a/plug-ins/imagemap/imap_table.c
+++ b/plug-ins/imagemap/imap_table.c
@@ -39,7 +39,7 @@ GtkWidget*
 create_spin_button_in_table(GtkWidget *table, GtkWidget *label,
                             int row, int col, int value, int min, int max)
 {
-   GtkObject *adj = gtk_adjustment_new(value, min, max, 1, 1, 1);
+   GtkObject *adj = gtk_adjustment_new(value, min, max, 1, 10, 0);
    GtkWidget *button = gtk_spin_button_new(GTK_ADJUSTMENT(adj), 1, 0);
    gtk_spin_button_set_numeric(GTK_SPIN_BUTTON(button), TRUE);
    if (label)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]