Commit 2736ad18 authored by Kjartan Maraas's avatar Kjartan Maraas Committed by Kjartan Maraas

Fix a crash when trying to use input methods. From Fedora. Closes bug

2005-02-28  Kjartan Maraas  <kmaraas@gnome.org>

	* src/vte.c: (vte_terminal_unrealize): Fix a crash
	when trying to use input methods. From Fedora.
	Closes bug #168213.
parent e6192592
2005-02-28 Kjartan Maraas <kmaraas@gnome.org>
* src/vte.c: (vte_terminal_unrealize): Fix a crash
when trying to use input methods. From Fedora.
Closes bug #168213.
2005-02-28 Kjartan Maraas <kmaraas@gnome.org>
* src/vte.c: (vte_terminal_scroll_region),
......@@ -7,7 +13,7 @@
Another patch from fedora. Make sure the screen is fully redrawn
before scrolling. Apparently this patch has some issues, but those
were found to be small enough to apply in Fedora, so I guess
the same holds true here.
the same holds true here. Closes bug #168212
2005-02-28 Kjartan Maraas <kmaraas@gnome.org>
......
......@@ -11892,6 +11892,9 @@ vte_terminal_unrealize(GtkWidget *widget)
/* Shut down input methods. */
if (terminal->pvt->im_context != NULL) {
g_signal_handlers_disconnect_by_func (G_OBJECT(terminal->pvt->im_context),
vte_terminal_im_preedit_changed,
terminal);
vte_terminal_im_reset(terminal);
gtk_im_context_set_client_window(terminal->pvt->im_context,
NULL);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment