diff options
author | joerg <joerg@pkgsrc.org> | 2012-11-19 23:16:40 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2012-11-19 23:16:40 +0000 |
commit | 917464c08f25332e42b5f520af9adbabc0805585 (patch) | |
tree | cd63dc59468c598e8aa4f41b48bb05a1b9df6bf8 /inputmethod/ibus-handwrite | |
parent | f29c5f123e04a2d4d533b368a1d6812a79d9006f (diff) | |
download | pkgsrc-917464c08f25332e42b5f520af9adbabc0805585.tar.gz |
Don't use nested functions. Bump revision.
Diffstat (limited to 'inputmethod/ibus-handwrite')
-rw-r--r-- | inputmethod/ibus-handwrite/Makefile | 4 | ||||
-rw-r--r-- | inputmethod/ibus-handwrite/distinfo | 3 | ||||
-rw-r--r-- | inputmethod/ibus-handwrite/patches/patch-src_UI__gtk.c | 28 |
3 files changed, 32 insertions, 3 deletions
diff --git a/inputmethod/ibus-handwrite/Makefile b/inputmethod/ibus-handwrite/Makefile index 1292de84a53..4e8bc580e8e 100644 --- a/inputmethod/ibus-handwrite/Makefile +++ b/inputmethod/ibus-handwrite/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.21 2012/10/16 17:47:21 wiz Exp $ +# $NetBSD: Makefile,v 1.22 2012/11/19 23:16:40 joerg Exp $ # DISTNAME= ibus-handwrite-2.1.4 -PKGREVISION= 10 +PKGREVISION= 11 CATEGORIES= inputmethod MASTER_SITES= http://ibus-handwrite.googlecode.com/files/ EXTRACT_SUFX= .tar.bz2 diff --git a/inputmethod/ibus-handwrite/distinfo b/inputmethod/ibus-handwrite/distinfo index b6e4da0a554..ce0fe0e69e2 100644 --- a/inputmethod/ibus-handwrite/distinfo +++ b/inputmethod/ibus-handwrite/distinfo @@ -1,7 +1,8 @@ -$NetBSD: distinfo,v 1.6 2011/12/16 10:51:18 obache Exp $ +$NetBSD: distinfo,v 1.7 2012/11/19 23:16:40 joerg Exp $ SHA1 (ibus-handwrite-2.1.4.tar.bz2) = 2798728c628dfa60a7c1c45c8a59882962c91b1e RMD160 (ibus-handwrite-2.1.4.tar.bz2) = 35e7288d5efcd98a01138d075b0455874730a4ea Size (ibus-handwrite-2.1.4.tar.bz2) = 237980 bytes SHA1 (patch-configure) = 66d3e86c3ac5de1bbd466bfca1fc1d709b2d1da6 SHA1 (patch-configure.ac) = 0730abb2210c60b2feb1e9a3055568f4fbb11e2a +SHA1 (patch-src_UI__gtk.c) = 1225bb4effdf4bf7e0de57ebfc9edc65134f9a61 diff --git a/inputmethod/ibus-handwrite/patches/patch-src_UI__gtk.c b/inputmethod/ibus-handwrite/patches/patch-src_UI__gtk.c new file mode 100644 index 00000000000..b0745037d2c --- /dev/null +++ b/inputmethod/ibus-handwrite/patches/patch-src_UI__gtk.c @@ -0,0 +1,28 @@ +$NetBSD: patch-src_UI__gtk.c,v 1.1 2012/11/19 23:16:41 joerg Exp $ + +--- src/UI_gtk.c.orig 2012-11-19 16:23:52.000000000 +0000 ++++ src/UI_gtk.c +@@ -173,6 +173,11 @@ static void glwidget_realize(GtkWidget * + } + } + ++static void clicked(GtkButton *button, IBusHandwriteEngine *engine) ++{ ++ ibus_handwrite_engine_commit_text(engine,GPOINTER_TO_INT(g_object_get_data(G_OBJECT(button),"order"))); ++} ++ + static void regen_loopuptable(GtkWidget * widget, IBusHandwriteEngine * engine) + { + int i; +@@ -195,11 +200,6 @@ static void regen_loopuptable(GtkWidget + + gtk_widget_show(bt); + +- void clicked(GtkButton *button, IBusHandwriteEngine *engine) +- { +- ibus_handwrite_engine_commit_text(engine,GPOINTER_TO_INT(g_object_get_data(G_OBJECT(button),"order"))); +- } +- + g_object_set_data(G_OBJECT(bt),"order",GINT_TO_POINTER(i)); + g_signal_connect(bt,"clicked",G_CALLBACK(clicked),engine); + |