[totem/gnome-3-14] main: Fix Totem doubling files added on the cmd line
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem/gnome-3-14] main: Fix Totem doubling files added on the cmd line
- Date: Tue, 13 Jan 2015 20:48:16 +0000 (UTC)
commit 7c10bc39a098c92107f04adb9c2ad08f8cd73825
Author: Bastien Nocera <hadess hadess net>
Date: Tue Jan 6 23:26:50 2015 +0100
main: Fix Totem doubling files added on the cmd line
https://bugzilla.gnome.org/show_bug.cgi?id=740995
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 403e45b..5ec8255 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 */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]