[Xfce4-commits] <xfdesktop:master> Wrong g_return_if_fail macro used

Eric Koegel noreply at xfce.org
Fri Nov 1 13:58:01 CET 2013


Updating branch refs/heads/master
         to 7a001c2de7440da2d0a65a5462134a36f5a1ee3e (commit)
       from 20c79bb1e8b1ee2d818d5717688ce54772f85fbe (commit)

commit 7a001c2de7440da2d0a65a5462134a36f5a1ee3e
Author: Eric Koegel <eric.koegel at gmail.com>
Date:   Fri Nov 1 15:41:58 2013 +0300

    Wrong g_return_if_fail macro used

 src/xfdesktop-file-icon-manager.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/xfdesktop-file-icon-manager.c b/src/xfdesktop-file-icon-manager.c
index af6b93b..859f8c0 100644
--- a/src/xfdesktop-file-icon-manager.c
+++ b/src/xfdesktop-file-icon-manager.c
@@ -1223,7 +1223,7 @@ xfdesktop_file_icon_menu_fill_template_menu(GtkWidget *menu,
     gchar *label, *dot;
     guint items = 0;
 
-    g_return_val_if_fail(G_IS_FILE(template_dir), FALSE);
+    g_return_if_fail(G_IS_FILE(template_dir));
 
     enumerator = g_file_enumerate_children(template_dir,
                                            XFDESKTOP_FILE_INFO_NAMESPACE,


More information about the Xfce4-commits mailing list