changeset 908:5a737cc935cc

file_util_rename_dir should not return anything
author nadvornik
date Mon, 21 Jul 2008 20:50:24 +0000
parents ca8022a156ec
children 6f65d3ecf353
files src/utilops.c src/utilops.h
diffstat 2 files changed, 2 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/utilops.c	Mon Jul 21 20:40:29 2008 +0000
+++ b/src/utilops.c	Mon Jul 21 20:50:24 2008 +0000
@@ -2081,7 +2081,7 @@
 	file_util_create_dir_full(dir_fd, NULL, parent, UTILITY_PHASE_ENTERING);
 }
 
-gint file_util_rename_dir(FileData *source_fd, const gchar *new_path, GtkWidget *parent)
+void file_util_rename_dir(FileData *source_fd, const gchar *new_path, GtkWidget *parent)
 {
 	file_util_rename_dir_full(source_fd, new_path, parent, UTILITY_PHASE_ENTERING);
 }
--- a/src/utilops.h	Mon Jul 21 20:40:29 2008 +0000
+++ b/src/utilops.h	Mon Jul 21 20:50:24 2008 +0000
@@ -40,7 +40,7 @@
 void file_util_rename(FileData *source_fd, GList *source_list, GtkWidget *parent);
 
 void file_util_create_dir(FileData *dir_fd, GtkWidget *parent);
-gint file_util_rename_dir(FileData *source_fd, const gchar *new_path, GtkWidget *parent);
+void file_util_rename_dir(FileData *source_fd, const gchar *new_path, GtkWidget *parent);
 
 /* these avoid the location entry dialog, list must be files only and
  * dest_path must be a valid directory path
@@ -54,8 +54,6 @@
 void file_util_start_filter_from_file(gint n, FileData *fd, const gchar *dest_path, GtkWidget *parent);
 void file_util_start_filter_from_filelist(gint n, GList *list, const gchar *dest_path, GtkWidget *parent);
 
-
-
 void file_util_delete_dir(FileData *source_fd, GtkWidget *parent);
 
 void file_util_copy_path_to_clipboard(FileData *fd);