Skip to content
Snippets Groups Projects
Commit 6a7d4b77 authored by Alexander Schwinn's avatar Alexander Schwinn
Browse files

Prevent build warning

parent ecf9c125
No related branches found
Tags thunar-1.8.0
No related merge requests found
......@@ -156,7 +156,7 @@ tex_open_terminal_activated (ThunarxMenuItem *item,
command = g_strdup_printf ("exo-open --launch TerminalEmulator --working-directory \"%s\"", path);
/* try to run the terminal command */
if (!xfce_spawn_command_line_on_screen (gtk_widget_get_screen (window), command, FALSE, FALSE, &error))
if (!xfce_spawn_command_line (NULL, command, FALSE, FALSE, TRUE, &error))
{
/* display an error dialog */
xfce_dialog_show_error (GTK_WINDOW (window), error, "Failed to open terminal in folder %s.", path);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment