From 10b11f844378dd937d7a4b1bb2a5cabd9cb40c3e Mon Sep 17 00:00:00 2001 From: wiz Date: Fri, 25 Nov 2005 22:17:15 +0000 Subject: Bug fix for the gtk2 input method: Do not run g_source_remove if there is no source. Bump PKGREVISION. --- inputmethod/uim/Makefile | 3 ++- inputmethod/uim/distinfo | 3 ++- inputmethod/uim/patches/patch-aa | 14 ++++++++++++++ 3 files changed, 18 insertions(+), 2 deletions(-) create mode 100644 inputmethod/uim/patches/patch-aa (limited to 'inputmethod/uim') diff --git a/inputmethod/uim/Makefile b/inputmethod/uim/Makefile index f8cd3f161b6..762cbcadd19 100644 --- a/inputmethod/uim/Makefile +++ b/inputmethod/uim/Makefile @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.13 2005/09/30 12:43:35 wiz Exp $ +# $NetBSD: Makefile,v 1.14 2005/11/25 22:17:15 wiz Exp $ # DISTNAME= uim-0.4.9.1 +PKGREVISION= 1 CATEGORIES= inputmethod MASTER_SITES= http://uim.freedesktop.org/releases/ diff --git a/inputmethod/uim/distinfo b/inputmethod/uim/distinfo index f992b043d6d..400ef62629f 100644 --- a/inputmethod/uim/distinfo +++ b/inputmethod/uim/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.5 2005/09/30 12:43:35 wiz Exp $ +$NetBSD: distinfo,v 1.6 2005/11/25 22:17:15 wiz Exp $ SHA1 (uim-0.4.9.1.tar.gz) = 9037499c47187aeee758ee2bfd60ba9d7d4f40ec RMD160 (uim-0.4.9.1.tar.gz) = a610157a3aabdd9c1f35718fd8dddce27ffc8831 Size (uim-0.4.9.1.tar.gz) = 1602849 bytes +SHA1 (patch-aa) = 15c80df9ab4c9c799be22c31a223cacd7b6389f0 diff --git a/inputmethod/uim/patches/patch-aa b/inputmethod/uim/patches/patch-aa new file mode 100644 index 00000000000..34824141163 --- /dev/null +++ b/inputmethod/uim/patches/patch-aa @@ -0,0 +1,14 @@ +$NetBSD: patch-aa,v 1.3 2005/11/25 22:17:15 wiz Exp $ + +--- gtk/gtk-im-uim.c.orig 2005-09-26 22:56:59.000000000 +0200 ++++ gtk/gtk-im-uim.c +@@ -667,7 +667,8 @@ im_uim_finalize(GObject *obj) + } + if (uic->caret_state_indicator) { + guint tag = GPOINTER_TO_INT(g_object_get_data(G_OBJECT(uic->caret_state_indicator), "timeout-tag")); +- g_source_remove(tag); ++ if (tag > 0) ++ g_source_remove(tag); + gtk_widget_destroy(uic->caret_state_indicator); + uic->caret_state_indicator = NULL; + } -- cgit v1.2.3