[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:20:28 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 x f c e - 4 . 1 2
in repository xfce/thunar.
commit dfcb3d73ff4dbcce21575b74ff5ca9949c7d7e39
Author: Andre Miranda <andreldm at xfce.org>
Date: Tue Dec 5 22:20:20 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 911a276..91a3cb9 100644
--- a/thunar/thunar-dialogs.c
+++ b/thunar/thunar-dialogs.c
@@ -304,7 +304,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