aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2001-06-24 23:32:00 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2001-06-24 23:32:00 +0800
commitbe46f0d11c4694bc056a610ea95741a2ced2ea11 (patch)
tree0198773afc8d2a4c04710ce52b1b20cf643e605c
parent4e1fe266e73c23d628ebf4765ae931a7b91b4e3f (diff)
downloadgsoc2013-evolution-be46f0d11c4694bc056a610ea95741a2ced2ea11.tar
gsoc2013-evolution-be46f0d11c4694bc056a610ea95741a2ced2ea11.tar.gz
gsoc2013-evolution-be46f0d11c4694bc056a610ea95741a2ced2ea11.tar.bz2
gsoc2013-evolution-be46f0d11c4694bc056a610ea95741a2ced2ea11.tar.lz
gsoc2013-evolution-be46f0d11c4694bc056a610ea95741a2ced2ea11.tar.xz
gsoc2013-evolution-be46f0d11c4694bc056a610ea95741a2ced2ea11.tar.zst
gsoc2013-evolution-be46f0d11c4694bc056a610ea95741a2ced2ea11.zip
Fix a gazillion warnings.
svn path=/trunk/; revision=10451
-rw-r--r--shell/ChangeLog8
-rw-r--r--shell/e-shell-folder-commands.c10
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