From 8551cd6d3cb50e9db946ffb1b7339b72116e4b29 Mon Sep 17 00:00:00 2001 From: obache Date: Sun, 27 Jun 2010 08:49:32 +0000 Subject: Fixes a warning: GtkSpinButton: setting an adjustment with non-zero page size is deprecated Ride on last bump. --- inputmethod/scim-tomoe/distinfo | 4 ++-- inputmethod/scim-tomoe/patches/patch-ab | 14 ++++++++++++-- 2 files changed, 14 insertions(+), 4 deletions(-) (limited to 'inputmethod/scim-tomoe') diff --git a/inputmethod/scim-tomoe/distinfo b/inputmethod/scim-tomoe/distinfo index 0764b1f93c2..5a6573c740f 100644 --- a/inputmethod/scim-tomoe/distinfo +++ b/inputmethod/scim-tomoe/distinfo @@ -1,7 +1,7 @@ -$NetBSD: distinfo,v 1.3 2010/06/27 08:05:31 obache Exp $ +$NetBSD: distinfo,v 1.4 2010/06/27 08:49:32 obache Exp $ SHA1 (scim-tomoe-0.6.0.tar.gz) = 481ee2f8f9baa6105a349da36360aed06e432291 RMD160 (scim-tomoe-0.6.0.tar.gz) = c95059e7f594192c97b082aa61818060391a8591 Size (scim-tomoe-0.6.0.tar.gz) = 385126 bytes SHA1 (patch-aa) = 0554574908f37adae9d8771dcadce2e038c5857a -SHA1 (patch-ab) = 5448d662f687276b80831c6473ee8a5a1f35c5e3 +SHA1 (patch-ab) = b27e4074c5f3b18eb8969c66929c78f9f6ff8fe0 diff --git a/inputmethod/scim-tomoe/patches/patch-ab b/inputmethod/scim-tomoe/patches/patch-ab index 317783fe394..1117fcc05eb 100644 --- a/inputmethod/scim-tomoe/patches/patch-ab +++ b/inputmethod/scim-tomoe/patches/patch-ab @@ -1,9 +1,19 @@ -$NetBSD: patch-ab,v 1.2 2010/06/27 08:05:31 obache Exp $ +$NetBSD: patch-ab,v 1.3 2010/06/27 08:49:32 obache Exp $ -support gucharmap-2 +* GtkSpinButton: setting an adjustment with non-zero page size is deprecated +* support gucharmap-2 --- src/scim_tomoe_prefs_widget.cpp.orig 2007-05-07 07:49:15.000000000 +0000 +++ src/scim_tomoe_prefs_widget.cpp +@@ -170,7 +170,7 @@ create_spin_button (ScimTomoePrefsWidget + gtk_widget_show (label); + + GtkObject *adj = gtk_adjustment_new (value, min, max, step, +- page_size, page_size); ++ page_size, 0.0); + GtkWidget *spin = gtk_spin_button_new (GTK_ADJUSTMENT (adj), 0.0, 0); + g_object_set_data (G_OBJECT (spin), + OBJECT_DATA_CONFIG_KEY, (gpointer) key); @@ -472,9 +472,13 @@ apply_config (ScimTomoePrefsWidget *pref String (SCIM_TOMOE_CONFIG_UNICODE_TABLE_FONT_DEFAULT)); -- cgit v1.2.3