[totem] gallery, don't use command line options that got removed from the helper
- From: Sebastien Bacher <sbacher src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem] gallery, don't use command line options that got removed from the helper
- Date: Tue, 23 Oct 2018 14:17:12 +0000 (UTC)
commit a3f14bd7141eca8fcddeabfdca4b9d9a59641344
Author: Sébastien Bacher <seb128 ubuntu com>
Date: Wed Oct 17 17:57:47 2018 +0000
gallery, don't use command line options that got removed from the helper
src/plugins/screenshot/totem-gallery.c | 13 +++++--------
1 file changed, 5 insertions(+), 8 deletions(-)
---
diff --git a/src/plugins/screenshot/totem-gallery.c b/src/plugins/screenshot/totem-gallery.c
index c6d54357..6583096e 100644
--- a/src/plugins/screenshot/totem-gallery.c
+++ b/src/plugins/screenshot/totem-gallery.c
@@ -171,14 +171,11 @@ dialog_response_callback (GtkDialog *dialog, gint response_id, TotemGallery *sel
/* Build the command and arguments to pass it */
argv[0] = (gchar*) LIBEXECDIR "/totem-gallery-thumbnailer"; /* a little hacky, but only the allocated
stuff is freed below */
- argv[1] = (gchar*) "-j"; /* JPEG mode */
- argv[2] = (gchar*) "-l"; /* don't limit resources */
- argv[3] = (gchar*) "-p"; /* print progress */
- argv[4] = g_strdup_printf ("--gallery=%u", screenshot_count); /* number of screenshots to output */
- argv[5] = g_strdup_printf ("--size=%u", gtk_spin_button_get_value_as_int
(self->priv->screenshot_width)); /* screenshot width */
- argv[6] = video_mrl; /* video to thumbnail */
- argv[7] = filename; /* output filename */
- argv[8] = NULL;
+ argv[1] = g_strdup_printf ("--gallery=%u", screenshot_count); /* number of screenshots to output */
+ argv[2] = g_strdup_printf ("--size=%u", gtk_spin_button_get_value_as_int
(self->priv->screenshot_width)); /* screenshot width */
+ argv[3] = video_mrl; /* video to thumbnail */
+ argv[4] = filename; /* output filename */
+ argv[5] = NULL;
/* Run the command */
ret = g_spawn_async_with_pipes (NULL, argv, NULL, G_SPAWN_SEARCH_PATH, NULL, NULL,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]