Commit 096becaa authored by Matthias Clasen's avatar Matthias Clasen Committed by Matthias Clasen

Unset the user data on the gdk window.

2005-07-07  Matthias Clasen  <mclasen@redhat.com>

	* src/vte.c (vte_terminal_unrealize): Unset the user data
	on the gdk window.
parent e01f40ab
2005-07-07 Matthias Clasen <mclasen@redhat.com>
* src/vte.c (vte_terminal_unrealize): Unset the user data
on the gdk window.
2005-06-15 Theppitak Karoonboonyanan <thep@linux.thai.net>
* configure.in: Added 'th' (Thai) to ALL_LINGUAS.
......
......@@ -11759,11 +11759,13 @@ vte_terminal_unrealize(GtkWidget *widget)
/* Unmap the widget if it hasn't been already. */
if (GTK_WIDGET_MAPPED(widget)) {
gtk_widget_unmap(widget);
}
/* Remove the GDK window. */
if (widget->window != NULL) {
gdk_window_set_user_data(widget->window, NULL);
gdk_window_destroy(widget->window);
widget->window = 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