[gimp] plug-ins: in image-map, fix spin-scale adjustment
- From: Ell <ell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] plug-ins: in image-map, fix spin-scale adjustment
- Date: Tue, 1 Jan 2019 12:54:05 +0000 (UTC)
commit 192bc9536c01770734a8c30e191c5ff93160ac83
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.
plug-ins/imagemap/imap_ui_grid.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/plug-ins/imagemap/imap_ui_grid.c b/plug-ins/imagemap/imap_ui_grid.c
index 22291cf2fa..9af9cbbb9b 100644
--- a/plug-ins/imagemap/imap_ui_grid.c
+++ b/plug-ins/imagemap/imap_ui_grid.c
@@ -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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]