SHA256
1
0
forked from pool/uim
uim/uim-fix-crash-in-firefox.diff
Takashi Iwai e84240e0c2 Accepting request 87723 from home:tiwai:branches:M17N
- Add missing obsoletes/provides for uim-qt3 in baselibs.conf
- Fix crash and a registration issue in Firefox (bnc#723899)

OBS-URL: https://build.opensuse.org/request/show/87723
OBS-URL: https://build.opensuse.org/package/show/M17N/uim?expand=0&rev=28
2011-10-13 14:24:44 +00:00

39 lines
950 B
Diff

---
gtk/compose.c | 1 +
gtk/uim-cand-win-gtk.c | 2 +-
gtk/uim-cand-win-tbl-gtk.c | 2 +-
3 files changed, 3 insertions(+), 2 deletions(-)
--- a/gtk/compose.c
+++ b/gtk/compose.c
@@ -767,6 +767,7 @@
im_uim_release_compose_tree()
{
FreeComposeTree(g_tree);
+ g_tree = NULL;
}
static int
--- a/gtk/uim-cand-win-gtk.c
+++ b/gtk/uim-cand-win-gtk.c
@@ -107,7 +107,7 @@
GType
uim_cand_win_gtk_register_type(GTypeModule *module)
{
- if (!cand_win_type)
+ //if (!cand_win_type)
cand_win_type = g_type_module_register_type(module,
GTK_TYPE_WINDOW,
"UIMCandWinGtk",
--- a/gtk/uim-cand-win-tbl-gtk.c
+++ b/gtk/uim-cand-win-tbl-gtk.c
@@ -136,7 +136,7 @@
GType
uim_cand_win_tbl_gtk_register_type(GTypeModule *module)
{
- if (!cand_win_tbl_type)
+ //if (!cand_win_tbl_type)
cand_win_tbl_type = g_type_module_register_type(module,
UIM_TYPE_CAND_WIN_GTK,
"UIMCandWinTblGtk",