[Xfce4-commits] [xfce/thunar] 01/01: Fixing missing return value in standard view

noreply at xfce.org noreply at xfce.org
Mon Nov 30 22:22:46 CET 2015


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

andrzejr pushed a commit to branch master
in repository xfce/thunar.

commit 77cf6ec3a3969589a4e9a8beea6a122b7dbcc2a0
Author: Steve Dodier-Lazaro <sidnioulz at gmail.com>
Date:   Mon Nov 30 15:29:56 2015 +0000

    Fixing missing return value in standard view
---
 thunar/thunar-standard-view.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/thunar/thunar-standard-view.c b/thunar/thunar-standard-view.c
index 5cc31dd..6b078e3 100644
--- a/thunar/thunar-standard-view.c
+++ b/thunar/thunar-standard-view.c
@@ -2167,7 +2167,7 @@ thunar_standard_view_get_fallback_directory (ThunarFile *directory,
   GFile      *path;
   GFile      *tmp;
 
-  _thunar_return_if_fail (THUNAR_IS_FILE (directory));
+  _thunar_return_val_if_fail (THUNAR_IS_FILE (directory), NULL);
 
   /* determine the path of the directory */
   path = g_object_ref (thunar_file_get_file (directory));

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


More information about the Xfce4-commits mailing list