fix warnings.

* folder-browser-factory.c, folder-browser.c, mail-ops.c,
	message-list.c: fix warnings.

svn path=/trunk/; revision=3931
This commit is contained in:
Dan Winship
2000-07-07 00:47:24 +00:00
parent 67a7089ea2
commit 443433db56
5 changed files with 8 additions and 10 deletions

View File

@ -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.

View File

@ -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),

View File

@ -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);
}

View File

@ -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);

View File

@ -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 {