From be46f0d11c4694bc056a610ea95741a2ced2ea11 Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Sun, 24 Jun 2001 15:32:00 +0000 Subject: Fix a gazillion warnings. svn path=/trunk/; revision=10451 --- shell/ChangeLog | 8 ++++++++ shell/e-shell-folder-commands.c | 10 ++++++---- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/shell/ChangeLog b/shell/ChangeLog index a492ef0c9c..34181a71aa 100644 --- a/shell/ChangeLog +++ b/shell/ChangeLog @@ -1,3 +1,11 @@ +2001-06-24 Ettore Perazzoli + + * e-shell-folder-commands.c: #include . + (delete_dialog): Constify @folder_name properly. + (delete_cb): Change the first arg to be an EStorageSet as expected + for EStorageSetResultCallbacks. + (rename_dialog): #if 0. + 2001-06-24 Ettore Perazzoli * e-task-widget.h, e-task-widget.c: Changed to derive from diff --git a/shell/e-shell-folder-commands.c b/shell/e-shell-folder-commands.c index 407b7f167b..a90c336da9 100644 --- a/shell/e-shell-folder-commands.c +++ b/shell/e-shell-folder-commands.c @@ -32,6 +32,7 @@ #include #include +#include #include #include "e-shell-constants.h" @@ -301,7 +302,7 @@ e_shell_command_move_folder (EShell *shell, } static void -delete_cb (EStorage *storage, +delete_cb (EStorageSet *storage_set, EStorageResult result, void *data) { @@ -309,7 +310,7 @@ delete_cb (EStorage *storage, } static int -delete_dialog (char *folder_name) +delete_dialog (const char *folder_name) { GnomeDialog *dialog; char *title; @@ -320,8 +321,7 @@ delete_dialog (char *folder_name) /* Popup a dialog asking if they are sure they want to delete the folder */ - title = g_strdup_printf (_("Delete folder '%s'"), - folder_name); + title = g_strdup_printf (_("Delete folder '%s'"), folder_name); dialog = GNOME_DIALOG (gnome_dialog_new (title, GNOME_STOCK_BUTTON_YES, @@ -375,6 +375,7 @@ e_shell_command_delete_folder (EShell *shell, g_free (path); } +#if 0 static char * rename_dialog (char *folder_name) { @@ -397,6 +398,7 @@ rename_dialog (char *folder_name) /* FIXME: Finish then make command_rename_folder use it */ } +#endif void -- cgit v1.2.3