Remove commented out code.
[geeqie.git] / src / trash.c
index de13058..524d0c3 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * Geeqie
  * (C) 2006 John Ellis
- * Copyright (C) 2008 - 2009 The Geeqie Team
+ * Copyright (C) 2008 - 2012 The Geeqie Team
  *
  * Author: John Ellis
  *
@@ -37,7 +37,7 @@ static gint file_util_safe_number(gint64 free_space)
        gboolean warned = FALSE;
        FileData *dir_fd;
 
-       dir_fd = file_data_new_simple(options->file_ops.safe_delete_path);
+       dir_fd = file_data_new_dir(options->file_ops.safe_delete_path);
        if (!filelist_read(dir_fd, &list, NULL))
                {
                file_data_unref(dir_fd);
@@ -122,7 +122,7 @@ static void file_util_safe_del_close_cb(GtkWidget *dialog, gpointer data)
        *gd = NULL;
 }
 
-gint file_util_safe_unlink(const gchar *path)
+gboolean file_util_safe_unlink(const gchar *path)
 {
        static GenericDialog *gd = NULL;
        gchar *result = NULL;