Commit 192bc953 authored by Ell's avatar Ell

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.
parent 3351174e
......@@ -47,7 +47,7 @@ create_spin_button_in_grid (GtkWidget *grid,
gint min,
gint max)
{
GtkAdjustment *adj = gtk_adjustment_new (value, min, max, 1, 1, 1);
GtkAdjustment *adj = gtk_adjustment_new (value, min, max, 1, 10, 0);
GtkWidget *button = gtk_spin_button_new (adj, 1, 0);
gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (button), TRUE);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment