Git Repositories

Fixing missing return value in standard view
authorSteve Dodier-Lazaro <sidnioulz@gmail.com>
Mon, 30 Nov 2015 15:29:56 +0000 (15:29 +0000)
committerAndrzej <ndrwrdck@gmail.com>
Mon, 30 Nov 2015 21:20:38 +0000 (21:20 +0000)
thunar/thunar-standard-view.c

index 5cc31dd..6b078e3 100644 (file)
@@ -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));