summaryrefslogtreecommitdiff
path: root/src/totem.c
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2012-07-13 16:01:03 +0100
committerBastien Nocera <hadess@hadess.net>2012-07-13 16:01:03 +0100
commitd6387e98a7654733a8a0a34fb53b658448edce91 (patch)
tree6463192fd1121577fa44654846a545112d9ef47c /src/totem.c
parent1fde879b302bf3a98ea1d2dec11d63b4c8662688 (diff)
downloadtotem-d6387e98a7654733a8a0a34fb53b658448edce91.tar.gz
main: Fix remote Totem exiting when --help was called
The age-old bug. Run totem &, and totem --help would exit the already running instance. https://bugzilla.gnome.org/show_bug.cgi?id=679621
Diffstat (limited to 'src/totem.c')
-rw-r--r--src/totem.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/totem.c b/src/totem.c
index a5c323fb3..533493051 100644
--- a/src/totem.c
+++ b/src/totem.c
@@ -194,6 +194,7 @@ app_command_line (GApplication *app,
/* Options parsing */
context = totem_options_get_context ();
+ g_option_context_set_help_enabled (context, FALSE);
if (g_option_context_parse (context, &argc, &argv, NULL) == FALSE) {
g_option_context_free (context);
return 1;