[Uim-bugs] [Bug 3630] leafpad segfault when uim-xim executed
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Sun Jun 26 16:27:24 EEST 2005
Please do not reply to this email: if you want to comment on the bug, go to
the URL shown below and enter yourcomments there.
https://bugs.freedesktop.org/show_bug.cgi?id=3630
------- Additional Comments From ekato at ees.hokudai.ac.jp 2005-06-26 06:27 -------
OK. I found the bug in gtk.
Here is the fix for gtk+-2.6.7.
I'll post bugzilla of gtk+ RNS (I'm a bit buzy these days).
--- gtkimcontextxim.c.orig 2005-02-01 04:55:10.000000000 +0900
+++ gtkimcontextxim.c 2005-06-26 22:22:58.000000000 +0900
@@ -562,9 +562,22 @@
gtk_im_context_xim_finalize (GObject *obj)
{
GtkIMContextXIM *context_xim = GTK_IM_CONTEXT_XIM (obj);
+ GdkScreen *screen;
+ GdkDisplay *display;
context_xim->finalizing = TRUE;
+ if (context_xim->im_info) {
+ screen = context_xim->im_info->screen;
+ display = gdk_screen_get_display (screen);
+ if (context_xim->im_info->reconnecting == TRUE) {
+ XUnregisterIMInstantiateCallback (GDK_DISPLAY_XDISPLAY(display),
+ NULL, NULL, NULL,
+ xim_instantiate_callback,
+ (XPointer)context_xim->im_info);
+ }
+ }
+
set_ic_client_window (context_xim, NULL);
g_free (context_xim->locale);
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the uim-bugs
mailing list