pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/inputmethod/uim Bug fix for the gtk2 input method:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/92e2e5dac3d6
branches:  trunk
changeset: 503704:92e2e5dac3d6
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Fri Nov 25 22:17:15 2005 +0000

description:
Bug fix for the gtk2 input method:
Do not run g_source_remove if there is no source.

Bump PKGREVISION.

diffstat:

 inputmethod/uim/Makefile         |   3 ++-
 inputmethod/uim/distinfo         |   3 ++-
 inputmethod/uim/patches/patch-aa |  14 ++++++++++++++
 3 files changed, 18 insertions(+), 2 deletions(-)

diffs (42 lines):

diff -r 4dc9e6391202 -r 92e2e5dac3d6 inputmethod/uim/Makefile
--- a/inputmethod/uim/Makefile  Fri Nov 25 21:40:06 2005 +0000
+++ b/inputmethod/uim/Makefile  Fri Nov 25 22:17:15 2005 +0000
@@ -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 -r 4dc9e6391202 -r 92e2e5dac3d6 inputmethod/uim/distinfo
--- a/inputmethod/uim/distinfo  Fri Nov 25 21:40:06 2005 +0000
+++ b/inputmethod/uim/distinfo  Fri Nov 25 22:17:15 2005 +0000
@@ -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 -r 4dc9e6391202 -r 92e2e5dac3d6 inputmethod/uim/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/inputmethod/uim/patches/patch-aa  Fri Nov 25 22:17:15 2005 +0000
@@ -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;
+   }



Home | Main Index | Thread Index | Old Index