diff options
author | Bastien Nocera <hadess@hadess.net> | 2015-01-06 23:26:50 +0100 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2015-01-06 23:26:50 +0100 |
commit | 751c1daa0c5bdd24e0ed67f2b235c46f2f1c1956 (patch) | |
tree | c286ab2467b1d3ff92ee45a1b94559bdba3fb020 | |
parent | 5264ed6a4d82fc267e5bf36e1338e0276f415ef8 (diff) | |
download | totem-751c1daa0c5bdd24e0ed67f2b235c46f2f1c1956.tar.gz |
main: Fix Totem doubling files added on the cmd line
https://bugzilla.gnome.org/show_bug.cgi?id=740995
-rw-r--r-- | src/totem-object.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/totem-object.c b/src/totem-object.c index 403e45bb8..5ec825547 100644 --- a/src/totem-object.c +++ b/src/totem-object.c @@ -247,6 +247,9 @@ totem_object_app_activate (GApplication *app) totem_object_play_pause (totem); else totem_object_set_mrl (totem, NULL, NULL); + + g_strfreev (optionstate.filenames); + optionstate.filenames = NULL; } /* Set the logo at the last minute so we won't try to show it before a video */ |