[totem] browser-plugin: Fix running under recent gnome-terminal



commit 01d2389325484744a7c14d8dfe3f03b5454644ef
Author: Bastien Nocera <hadess hadess net>
Date:   Fri Apr 11 10:22:58 2014 +0200

    browser-plugin: Fix running under recent gnome-terminal
    
    --disable-factory isn't supported any more.

 browser-plugin/totem-plugin-viewer.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/browser-plugin/totem-plugin-viewer.c b/browser-plugin/totem-plugin-viewer.c
index 5126ef5..b86c6cc 100644
--- a/browser-plugin/totem-plugin-viewer.c
+++ b/browser-plugin/totem-plugin-viewer.c
@@ -2250,7 +2250,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[5];
+                       const char *gdbargv[4];
                        char *gdb;
                        GError *gdberr = NULL;
                        int gdbargc = 0;
@@ -2258,7 +2258,6 @@ 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]