summaryrefslogtreecommitdiff
path: root/src/file-manager/fm-icon-view.c
diff options
context:
space:
mode:
authorrbuj <[email protected]>2020-07-06 21:57:13 +0200
committerraveit65 <[email protected]>2020-07-13 13:08:56 +0200
commit4740b43b34c016f2a6cdff54f10a03c1c1ba87aa (patch)
tree2ad81ffc9c38271813597266703a20621639ab9e /src/file-manager/fm-icon-view.c
parented034b6718678f89a5b04d80bb01396ed4fd1bc3 (diff)
downloadcaja-4740b43b34c016f2a6cdff54f10a03c1c1ba87aa.tar.bz2
caja-4740b43b34c016f2a6cdff54f10a03c1c1ba87aa.tar.xz
fm-icon-view: totem-audio-preview was removed in totem 2.25.90
Diffstat (limited to 'src/file-manager/fm-icon-view.c')
-rw-r--r--src/file-manager/fm-icon-view.c16
1 files changed, 2 insertions, 14 deletions
diff --git a/src/file-manager/fm-icon-view.c b/src/file-manager/fm-icon-view.c
index 82441e93..4e000b48 100644
--- a/src/file-manager/fm-icon-view.c
+++ b/src/file-manager/fm-icon-view.c
@@ -2154,19 +2154,6 @@ static char **
get_preview_argv (char *uri)
{
char *command;
- char **argv;
-
- command = g_find_program_in_path ("totem-audio-preview");
-
- if (command)
- {
- argv = g_new (char *, 3);
- argv[0] = command;
- argv[1] = g_strdup (uri);
- argv[2] = NULL;
-
- return argv;
- }
command = g_find_program_in_path ("gst-launch-1.0");
@@ -2177,9 +2164,10 @@ get_preview_argv (char *uri)
if (command)
{
+ char **argv;
int i;
- argv = g_new (char *, 10);
+ argv = g_new (char *, 5);
i = 0;
argv[i++] = command;
argv[i++] = g_strdup ("playbin");