[evolution-patches] gtkhtml patch
- From: Gary Ekker <gekker novell com>
- To: evolution-patches lists ximian com
- Subject: [evolution-patches] gtkhtml patch
- Date: Sat, 05 Feb 2005 13:27:11 -0700
This patch was submitted to bugzilla.suse.de by Hiroyuki Ikezoe
(#50247). It is in autobuild and needs to be upstreamed.
-Gary
--- Begin Message ---
- From: Hiroyuki Ikezoe <poincare ikezoe net>
- Subject: A ptach for fixing crash GtkHTML with some IM modules
- Date: Sat, 05 Feb 2005 13:27:04 -0700
HI,
I found a crash bug in GtkHTML-3.2.3 with some type of IM modules, which
emits "commit" signal to the IMContext when focus out from the widget.
I send a patch for fixing this problem, but I could not understand the
whole codes of GtkHTML, please check that the patch does not cause any
other problems.
Thanks.
--- gtkhtml-3.2.3/src/htmlcursor.c 2004-09-17 01:25:07.000000000 +0900
+++ gtkhtml-3.2.3_impatch/src/htmlcursor.c 2004-12-30 10:46:09.000000000 +0900
@@ -684,8 +684,6 @@
g_return_if_fail (cursor != NULL);
g_return_if_fail (position >= 0);
- gtk_html_im_reset (engine->widget);
-
if (engine->need_spell_check)
html_engine_spell_check_range (engine, engine->cursor, engine->cursor);
@@ -700,6 +698,8 @@
break;
}
}
+
+ gtk_html_im_reset (engine->widget);
}
--- End Message ---
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]