[Xfce4-commits] [xfce/thunar] 01/01: Avoid critical message upon window close

noreply at xfce.org noreply at xfce.org
Sun Jul 15 00:45:19 CEST 2018


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 56fbf074c424354cb001fc488beef780c4dc9028
Author: Andre Miranda <andreldm at xfce.org>
Date:   Sat Jul 14 19:34:48 2018 -0300

    Avoid critical message upon window close
    
    Introduced by last commit
---
 thunar/thunar-window.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/thunar/thunar-window.c b/thunar/thunar-window.c
index ebe50af..4b53d5d 100644
--- a/thunar/thunar-window.c
+++ b/thunar/thunar-window.c
@@ -3447,7 +3447,8 @@ thunar_window_update_custom_actions (ThunarView   *view,
   folder = thunar_window_get_current_directory (window);
 
   /* leave if current directory is invalid */
-  if (!thunarx_file_info_is_directory (THUNARX_FILE_INFO (folder)))
+  if (folder != NULL &&
+      !thunarx_file_info_is_directory (THUNARX_FILE_INFO (folder)))
       return;
 
   /* load the menu provides from the provider factory */

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


More information about the Xfce4-commits mailing list