View | Details | Raw Unified | Return to bug 250403 | Differences between
and this patch

Collapse All | Expand All

(-)devel/geany/Makefile (-1 / +1 lines)
Lines 42-48 Link Here
42
42
43
VTE_DESC=	Embedded virtual terminal
43
VTE_DESC=	Embedded virtual terminal
44
VTE_CONFIGURE_ENABLE=	vte
44
VTE_CONFIGURE_ENABLE=	vte
45
VTE_USE=	GNOME=vte
45
VTE_USE=	GNOME=vte3
46
46
47
THEMES_DESC=	Additional color schemes
47
THEMES_DESC=	Additional color schemes
48
THEMES_RUN_DEPENDS=	${LOCALBASE}/share/geany/colorschemes/bespin.conf:devel/geany-themes
48
THEMES_RUN_DEPENDS=	${LOCALBASE}/share/geany/colorschemes/bespin.conf:devel/geany-themes
(-)devel/geany/files/patch-src_vte.c (+23 lines)
Line 0 Link Here
1
--- src/vte.c.orig	2019-09-28 12:38:17 UTC
2
+++ src/vte.c
3
@@ -393,9 +393,10 @@ static void create_vte(void)
4
 	g_signal_connect_after(vte, "realize", G_CALLBACK(on_vte_realize), NULL);
5
 }
6
 
7
-
8
+static int vte_closing;
9
 void vte_close(void)
10
 {
11
+	vte_closing = 1;
12
 	g_free(vf);
13
 	/* free the vte widget before unloading vte module
14
 	 * this prevents a segfault on X close window if the message window is hidden */
15
@@ -485,6 +486,8 @@ static void vte_commit_cb(VteTerminal *vte, gchar *arg
16
 
17
 static void vte_start(GtkWidget *widget)
18
 {
19
+	if (0 < vte_closing)
20
+	  return;
21
 	/* split the shell command line, so arguments will work too */
22
 	gchar **argv = g_strsplit(vc->shell, " ", -1);
23
 

Return to bug 250403