diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2001-06-24 23:32:00 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2001-06-24 23:32:00 +0800 |
commit | be46f0d11c4694bc056a610ea95741a2ced2ea11 (patch) | |
tree | 0198773afc8d2a4c04710ce52b1b20cf643e605c /shell | |
parent | 4e1fe266e73c23d628ebf4765ae931a7b91b4e3f (diff) | |
download | gsoc2013-evolution-be46f0d11c4694bc056a610ea95741a2ced2ea11.tar.gz gsoc2013-evolution-be46f0d11c4694bc056a610ea95741a2ced2ea11.tar.zst gsoc2013-evolution-be46f0d11c4694bc056a610ea95741a2ced2ea11.zip |
Fix a gazillion warnings.
svn path=/trunk/; revision=10451
Diffstat (limited to 'shell')
-rw-r--r-- | shell/ChangeLog | 8 | ||||
-rw-r--r-- | 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,5 +1,13 @@ 2001-06-24 Ettore Perazzoli <ettore@ximian.com> + * e-shell-folder-commands.c: #include <gtk/gtklabel.h>. + (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 <ettore@ximian.com> + * e-task-widget.h, e-task-widget.c: Changed to derive from GtkEventBox. 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 <libgnomeui/gnome-dialog.h> #include <libgnomeui/gnome-stock.h> +#include <gtk/gtklabel.h> #include <gtk/gtksignal.h> #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 |