summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@gnome.org>2006-07-27 19:46:13 +0000
committerBehdad Esfahbod <behdad@src.gnome.org>2006-07-27 19:46:13 +0000
commit5a42042fd8b6a1ebf395b9b4a748118572e825bc (patch)
tree37e25a5487da36c413743ed04ea826c9cd8a8c4a
parent3e84bce2afc53eebc4c680e6fd3546bc516a2f4a (diff)
Bug 348814 – crash on Terminal Patch from Aivars Kalvans
2006-07-27 Behdad Esfahbod <behdad@gnome.org> Bug 348814 – crash on Terminal Patch from Aivars Kalvans * src/vte.c (vte_terminal_unrealize): Do not dispose draw in unrealize.
-rw-r--r--ChangeLog8
-rw-r--r--src/vte.c6
2 files changed, 8 insertions, 6 deletions
diff --git a/ChangeLog b/ChangeLog
index 20ba642..eb147be 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2006-07-27 Behdad Esfahbod <behdad@gnome.org>
+
+ Bug 348814 – crash on Terminal
+ Patch from Aivars Kalvans
+
+ * src/vte.c (vte_terminal_unrealize): Do not dispose draw in
+ unrealize.
+
2006-07-24 Behdad Esfahbod <behdad@gnome.org>
Released vte-0.13.4.
diff --git a/src/vte.c b/src/vte.c
index d0be101..e2af7ce 100644
--- a/src/vte.c
+++ b/src/vte.c
@@ -7063,12 +7063,6 @@ vte_terminal_unrealize(GtkWidget *widget)
}
terminal->pvt->im_preedit_cursor = 0;
- /* Clean up our draw structure. */
- if (terminal->pvt->draw != NULL) {
- _vte_draw_free(terminal->pvt->draw);
- }
- terminal->pvt->draw = NULL;
-
/* Unmap the widget if it hasn't been already. */
if (GTK_WIDGET_MAPPED(widget)) {