[gnome-builder] buildui: avoid NULL VtePty
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] buildui: avoid NULL VtePty
- Date: Tue, 3 Dec 2019 04:50:06 +0000 (UTC)
commit c279ebc3624764f8b2ba067010376f1e3fc16b88
Author: Christian Hergert <chergert redhat com>
Date: Mon Dec 2 20:43:20 2019 -0800
buildui: avoid NULL VtePty
This fixes an issue where we provide a NULL PTY and libvte
crashes due to accessing it's backing implementation. Likely
an issue due to more C++'ification of libvte.
Fixes #1076
src/plugins/buildui/gbp-buildui-log-pane.c | 1 -
1 file changed, 1 deletion(-)
---
diff --git a/src/plugins/buildui/gbp-buildui-log-pane.c b/src/plugins/buildui/gbp-buildui-log-pane.c
index 31c853dd0..54e43c766 100644
--- a/src/plugins/buildui/gbp-buildui-log-pane.c
+++ b/src/plugins/buildui/gbp-buildui-log-pane.c
@@ -109,7 +109,6 @@ gbp_buildui_log_pane_set_pipeline (GbpBuilduiLogPane *self,
ide_pipeline_remove_log_observer (self->pipeline, self->log_observer);
self->log_observer = 0;
g_clear_object (&self->pipeline);
- vte_terminal_set_pty (VTE_TERMINAL (self->terminal), NULL);
}
if (pipeline != NULL)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]