rpms/gtkhtml3/FC-5 gtkhtml-3.10.0-im-too-late.patch,NONE,1.1

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Tue Apr 11 00:54:03 UTC 2006


Author: mclasen

Update of /cvs/dist/rpms/gtkhtml3/FC-5
In directory cvs.devel.redhat.com:/tmp/cvs-serv18799

Added Files:
	gtkhtml-3.10.0-im-too-late.patch 
Log Message:
add patch from rawhide


gtkhtml-3.10.0-im-too-late.patch:
 gtkhtml.c |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletion(-)

--- NEW FILE gtkhtml-3.10.0-im-too-late.patch ---
--- gtkhtml-3.10.0/src/gtkhtml.c.fix	2006-04-07 08:54:58.000000000 -0700
+++ gtkhtml-3.10.0/src/gtkhtml.c	2006-04-07 08:55:54.000000000 -0700
@@ -3181,10 +3181,14 @@
 	PangoAttrList *attrs;
 	gchar *preedit_string;
 	gint cursor_pos, initial_position;
-	gboolean state = html->priv->im_block_reset;
+	gboolean state;
 	gboolean pop_selection = FALSE;
 	gint deleted = 0;
 
+	g_return_if_fail (html->priv != NULL);
+
+	state = html->priv->im_block_reset;
+
 	D_IM (printf ("IM preedit changed cb [begin] cursor %d(%p) mark %d(%p) active: %d\n",
 		      html->engine->cursor ? html->engine->cursor->position : 0, html->engine->cursor,
 		      html->engine->mark ? html->engine->mark->position : 0, html->engine->mark,




More information about the fedora-cvs-commits mailing list