[Xfce4-commits] [xfce/thunar] 01/01: Fix crash on unavailable file move copy (Bug #14056)

noreply at xfce.org noreply at xfce.org
Wed Dec 6 02:17:41 CET 2017


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

a   n   d   r   e       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 xfce/thunar.

commit ec112bcbf8f73d95fe38887ca4b1201a56963a40
Author: Andre Miranda <andreldm at xfce.org>
Date:   Tue Dec 5 22:17:25 2017 -0300

    Fix crash on unavailable file move copy (Bug #14056)
---
 thunar/thunar-dialogs.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/thunar/thunar-dialogs.c b/thunar/thunar-dialogs.c
index 992444c..5d5da96 100644
--- a/thunar/thunar-dialogs.c
+++ b/thunar/thunar-dialogs.c
@@ -311,7 +311,7 @@ thunar_dialogs_show_error (gpointer      parent,
   _thunar_return_if_fail (parent == NULL || GDK_IS_SCREEN (parent) || GTK_IS_WIDGET (parent));
 
   /* do not display error dialog for already handled errors */
-  if (error->code == G_IO_ERROR_FAILED_HANDLED)
+  if (error && error->code == G_IO_ERROR_FAILED_HANDLED)
     return;
 
   /* parse the parent pointer */

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


More information about the Xfce4-commits mailing list