[Xfce4-commits] [apps/xfce4-terminal] 01/01: Fix app crash when running a non-existing command

noreply at xfce.org noreply at xfce.org
Thu Mar 22 17:42:56 CET 2018


This is an automated email from the git hooks/post-receive script.

f   2   4   0   4       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository apps/xfce4-terminal.

commit 6f321bd100be25da9ea1ed3a65e9d41f38676427
Author: Igor <f2404 at yandex.ru>
Date:   Thu Mar 22 12:42:16 2018 -0400

    Fix app crash when running a non-existing command
    
    Fixes bug #14295
---
 terminal/terminal-screen.c | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/terminal/terminal-screen.c b/terminal/terminal-screen.c
index efba091..6c04741 100644
--- a/terminal/terminal-screen.c
+++ b/terminal/terminal-screen.c
@@ -1692,11 +1692,8 @@ terminal_screen_spawn_async_cb (VteTerminal *terminal,
   screen->pid = pid;
 
   if (error)
-    {
-      xfce_dialog_show_error (GTK_WINDOW (gtk_widget_get_toplevel (GTK_WIDGET (screen))),
-                              error, _("Failed to execute child"));
-      g_error_free (error);
-    }
+    xfce_dialog_show_error (GTK_WINDOW (gtk_widget_get_toplevel (GTK_WIDGET (screen))),
+                            error, _("Failed to execute child"));
 }
 #endif
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list