1
#! /bin/sh /usr/share/dpatch/dpatch-run
2
## 08_fix_segv_on_iceweasel_and_flashplugin.dpatch by <kiwamu@debian.or.jp>
4
## All lines beginning with `## DP:' are a description of the patch.
8
diff -urNad uim-1.5.6~/gtk/gtk-im-uim.c uim-1.5.6/gtk/gtk-im-uim.c
9
--- uim-1.5.6~/gtk/gtk-im-uim.c 2009-01-21 11:16:35.000000000 +0900
10
+++ uim-1.5.6/gtk/gtk-im-uim.c 2009-11-19 20:25:43.000000000 +0900
15
+cur_toplevel_deleted(GtkWidget *widget, gpointer data)
17
+ cur_toplevel = NULL;
21
update_cur_toplevel(IMUIMContext *uic)
23
/* Don't set our candwin's text widget as cur_toplevel */
25
cur_key_release_handler_id = g_signal_connect(cur_toplevel,
27
G_CALLBACK(handle_key_on_toplevel), uic);
28
+ g_signal_connect(cur_toplevel,
30
+ G_CALLBACK(cur_toplevel_deleted), NULL);
33
remove_cur_toplevel();