diff options
Diffstat (limited to 'inputmethod/tomoe-gtk/patches/patch-ab')
-rw-r--r-- | inputmethod/tomoe-gtk/patches/patch-ab | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/inputmethod/tomoe-gtk/patches/patch-ab b/inputmethod/tomoe-gtk/patches/patch-ab new file mode 100644 index 00000000000..fe48bf41f1d --- /dev/null +++ b/inputmethod/tomoe-gtk/patches/patch-ab @@ -0,0 +1,24 @@ +$NetBSD: patch-ab,v 1.1.2.2 2010/07/04 07:18:44 agc Exp $ + +Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated + +--- src/tomoe-reading-search.c.orig 2007-04-25 07:49:31.000000000 +0000 ++++ src/tomoe-reading-search.c +@@ -203,7 +203,7 @@ tomoe_reading_search_init (TomoeReadingS + gtk_box_pack_start (GTK_BOX (hbox), label, FALSE, FALSE, 4); + /*gtk_widget_show (label);*/ + +- adj = gtk_adjustment_new (1.0, 1.0, 200.0, 1.0, 5.0, 5.0); ++ adj = gtk_adjustment_new (1.0, 1.0, 200.0, 1.0, 5.0, 0.0); + spin = gtk_spin_button_new (GTK_ADJUSTMENT (adj), 0.0, 0); + priv->min_strokes_spin = spin; + g_signal_connect (G_OBJECT (spin), "value-changed", +@@ -217,7 +217,7 @@ tomoe_reading_search_init (TomoeReadingS + gtk_box_pack_start (GTK_BOX (hbox), label, FALSE, FALSE, 4); + /*gtk_widget_show (label);*/ + +- adj = gtk_adjustment_new (20.0, 1.0, 200.0, 1.0, 5.0, 5.0); ++ adj = gtk_adjustment_new (20.0, 1.0, 200.0, 1.0, 5.0, 0.0); + spin = gtk_spin_button_new (GTK_ADJUSTMENT (adj), 0.0, 0); + priv->max_strokes_spin = spin; + g_signal_connect (G_OBJECT (spin), "value-changed", |