aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-config.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-05-27 04:58:27 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-05-27 04:58:27 +0800
commit333656eba50f2120bbee3e817b8faf0baf448faf (patch)
tree3869bc4847dd4ab67625b82207ff98ef19045e8d /mail/mail-config.c
parent1682814ef78902b385fe84589f8755b0ff4b5b5a (diff)
parentffa17ed195a6bbb40d386fb572b7941e22f47f8d (diff)
downloadgsoc2013-evolution-333656eba50f2120bbee3e817b8faf0baf448faf.tar
gsoc2013-evolution-333656eba50f2120bbee3e817b8faf0baf448faf.tar.gz
gsoc2013-evolution-333656eba50f2120bbee3e817b8faf0baf448faf.tar.bz2
gsoc2013-evolution-333656eba50f2120bbee3e817b8faf0baf448faf.tar.lz
gsoc2013-evolution-333656eba50f2120bbee3e817b8faf0baf448faf.tar.xz
gsoc2013-evolution-333656eba50f2120bbee3e817b8faf0baf448faf.tar.zst
gsoc2013-evolution-333656eba50f2120bbee3e817b8faf0baf448faf.zip
Merge branch 'warnings'
Diffstat (limited to 'mail/mail-config.c')
-rw-r--r--mail/mail-config.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/mail/mail-config.c b/mail/mail-config.c
index 5fa562e399..62f6ba6eb3 100644
--- a/mail/mail-config.c
+++ b/mail/mail-config.c
@@ -105,10 +105,11 @@ typedef struct {
gboolean scripts_disabled;
} MailConfig;
+extern int camel_header_param_encode_filenames_in_rfc_2047;
+
static MailConfig *config = NULL;
static guint config_write_timeout = 0;
-
void
mail_config_save_accounts (void)
{
@@ -251,8 +252,6 @@ static void
gconf_outlook_filenames_changed (GConfClient *client, guint cnxn_id,
GConfEntry *entry, gpointer user_data)
{
- extern int camel_header_param_encode_filenames_in_rfc_2047;
-
g_return_if_fail (client != NULL);
/* pass option to the camel */
@@ -992,12 +991,13 @@ mail_config_uri_renamed (GCompareFunc uri_cmp, const char *old, const char *new)
EIterator *iter;
int i, work = 0;
char *oldname, *newname;
- char *cachenames[] = { "config/hidestate-",
- "config/et-expanded-",
- "config/et-header-",
- "*views/current_view-",
- "*views/custom_view-",
- NULL };
+ const gchar *cachenames[] = {
+ "config/hidestate-",
+ "config/et-expanded-",
+ "config/et-header-",
+ "*views/current_view-",
+ "*views/custom_view-",
+ NULL };
iter = e_list_get_iterator ((EList *) config->accounts);
while (e_iterator_is_valid (iter)) {