aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2000-07-07 08:47:24 +0800
committerDan Winship <danw@src.gnome.org>2000-07-07 08:47:24 +0800
commit443433db5618ebaa0bd8c0314fa5ce9978640003 (patch)
tree11cc42dd7243d2083050a698554107705509614a
parent67a7089ea2b6034fb883b0bf06066a7c6f3ef2f9 (diff)
downloadgsoc2013-evolution-443433db5618ebaa0bd8c0314fa5ce9978640003.tar
gsoc2013-evolution-443433db5618ebaa0bd8c0314fa5ce9978640003.tar.gz
gsoc2013-evolution-443433db5618ebaa0bd8c0314fa5ce9978640003.tar.bz2
gsoc2013-evolution-443433db5618ebaa0bd8c0314fa5ce9978640003.tar.lz
gsoc2013-evolution-443433db5618ebaa0bd8c0314fa5ce9978640003.tar.xz
gsoc2013-evolution-443433db5618ebaa0bd8c0314fa5ce9978640003.tar.zst
gsoc2013-evolution-443433db5618ebaa0bd8c0314fa5ce9978640003.zip
fix warnings.
* folder-browser-factory.c, folder-browser.c, mail-ops.c, message-list.c: fix warnings. svn path=/trunk/; revision=3931
-rw-r--r--mail/ChangeLog3
-rw-r--r--mail/folder-browser-factory.c6
-rw-r--r--mail/folder-browser.c7
-rw-r--r--mail/mail-ops.c1
-rw-r--r--mail/message-list.c1
5 files changed, 8 insertions, 10 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 2d58b13ab2..4dd83649ae 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,5 +1,8 @@
2000-07-06 Dan Winship <danw@helixcode.com>
+ * folder-browser-factory.c, folder-browser.c, mail-ops.c,
+ message-list.c: fix warnings.
+
* main.c (main): gtkhtmllib_init is no more. Call gconf_init
directly instead.
diff --git a/mail/folder-browser-factory.c b/mail/folder-browser-factory.c
index 74c50ca52f..6e1c38a893 100644
--- a/mail/folder-browser-factory.c
+++ b/mail/folder-browser-factory.c
@@ -25,12 +25,6 @@
#define CONTROL_FACTORY_ID "control-factory:evolution-mail"
#endif
-static void
-random_cb (GtkWidget *button, gpointer user_data)
-{
- printf ("Yow! I am called back!\n");
-}
-
static GnomeUIInfo gnome_toolbar [] = {
GNOMEUIINFO_ITEM_STOCK (N_("Get mail"), N_("Check for new mail"), fetch_mail, GNOME_STOCK_PIXMAP_MAIL_RCV),
GNOMEUIINFO_ITEM_STOCK (N_("Compose"), N_("Compose a new message"), compose_msg, GNOME_STOCK_PIXMAP_MAIL_NEW),
diff --git a/mail/folder-browser.c b/mail/folder-browser.c
index ccc497c6bf..f2818e0938 100644
--- a/mail/folder-browser.c
+++ b/mail/folder-browser.c
@@ -81,12 +81,13 @@ mail_uri_to_folder (const char *name)
/* FIXME: do this properly rather than hardcoding */
#warning "Find a way not to hardcode vfolder source"
{
+ char *source_name;
CamelFolder *source_folder;
extern char *evolution_dir;
- name = g_strdup_printf ("file://%s/local/Inbox", evolution_dir);
- source_folder = mail_uri_to_folder (name);
- g_free (name);
+ source_name = g_strdup_printf ("file://%s/local/Inbox", evolution_dir);
+ source_folder = mail_uri_to_folder (source_name);
+ g_free (source_name);
if (source_folder)
camel_vee_folder_add_folder (folder, source_folder);
}
diff --git a/mail/mail-ops.c b/mail/mail-ops.c
index 49fec9acc4..0f92674d45 100644
--- a/mail/mail-ops.c
+++ b/mail/mail-ops.c
@@ -708,7 +708,6 @@ delete_msg (GtkWidget *button, gpointer user_data)
{
FolderBrowser *fb = user_data;
MessageList *ml = fb->message_list;
- int cursor = e_table_get_cursor_row (E_TABLE (ml->etable));
CamelException ex;
camel_exception_init (&ex);
diff --git a/mail/message-list.c b/mail/message-list.c
index 34f4e078a0..aafdb35d97 100644
--- a/mail/message-list.c
+++ b/mail/message-list.c
@@ -59,6 +59,7 @@ static void on_cursor_change_cmd (ETable *table, int row, gpointer user_data);
static void on_row_selection (ETable *table, int row, gboolean selected,
gpointer user_data);
static void select_row (ETable *table, gpointer user_data);
+static void select_msg (MessageList *message_list, gint row);
static char *filter_date (const void *data);
static struct {