[totem] browser-plugin: Ensure not to share a gnome-terminal



commit b83097b2e9a3590f0ab17f9c1b93b776a158432a
Author: Bastien Nocera <hadess hadess net>
Date:   Sun Dec 4 12:01:02 2011 +0100

    browser-plugin: Ensure not to share a gnome-terminal

 browser-plugin/totem-plugin-viewer.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/browser-plugin/totem-plugin-viewer.c b/browser-plugin/totem-plugin-viewer.c
index 860d558..e376a81 100644
--- a/browser-plugin/totem-plugin-viewer.c
+++ b/browser-plugin/totem-plugin-viewer.c
@@ -2241,7 +2241,7 @@ int main (int argc, char **argv)
 
 		env = g_getenv ("TOTEM_EMBEDDED_GDB");
 		if (env && g_ascii_strtoull (env, NULL, 10) == 1) {
-			const char *gdbargv[4];
+			const char *gdbargv[5];
 			char *gdb;
 			GError *gdberr = NULL;
 			int gdbargc = 0;
@@ -2249,6 +2249,7 @@ int main (int argc, char **argv)
 			gdb = g_strdup_printf ("gdb %s %d", argv[0], getpid ());
 
 			gdbargv[gdbargc++] = "/usr/bin/gnome-terminal";
+			gdbargv[gdbargc++] = "--disable-factory";
 			gdbargv[gdbargc++] = "-e";
 			gdbargv[gdbargc++] = gdb;
 			gdbargv[gdbargc++] = NULL;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]