aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2011-11-18 22:58:44 +0800
committerMatthew Barnes <mbarnes@redhat.com>2011-11-23 03:34:11 +0800
commitc75f58d01bb7bbe139cd73a85894dc5f50185816 (patch)
treea7ed07daa233b004c1ee8a6a39839a8a2d39b597 /mail
parent03c039c098314b94767a2ec81b73c40fb4cbc168 (diff)
downloadgsoc2013-evolution-c75f58d01bb7bbe139cd73a85894dc5f50185816.tar
gsoc2013-evolution-c75f58d01bb7bbe139cd73a85894dc5f50185816.tar.gz
gsoc2013-evolution-c75f58d01bb7bbe139cd73a85894dc5f50185816.tar.bz2
gsoc2013-evolution-c75f58d01bb7bbe139cd73a85894dc5f50185816.tar.lz
gsoc2013-evolution-c75f58d01bb7bbe139cd73a85894dc5f50185816.tar.xz
gsoc2013-evolution-c75f58d01bb7bbe139cd73a85894dc5f50185816.tar.zst
gsoc2013-evolution-c75f58d01bb7bbe139cd73a85894dc5f50185816.zip
Fix compiler warnings.
Diffstat (limited to 'mail')
-rw-r--r--mail/e-mail-attachment-bar.c1
-rw-r--r--mail/e-mail-browser.c1
-rw-r--r--mail/e-mail-label-list-store.c4
-rw-r--r--mail/e-mail-reader.c1
-rw-r--r--mail/e-mail-session.c2
-rw-r--r--mail/em-composer-utils.c2
-rw-r--r--mail/em-folder-properties.c1
-rw-r--r--mail/message-list.c1
8 files changed, 3 insertions, 10 deletions
diff --git a/mail/e-mail-attachment-bar.c b/mail/e-mail-attachment-bar.c
index f3567f2887..c07d0e8707 100644
--- a/mail/e-mail-attachment-bar.c
+++ b/mail/e-mail-attachment-bar.c
@@ -256,7 +256,6 @@ mail_attachment_bar_constructed (GObject *object)
{
EMailAttachmentBarPrivate *priv;
GSettings *settings;
- const gchar *key;
priv = E_MAIL_ATTACHMENT_BAR (object)->priv;
diff --git a/mail/e-mail-browser.c b/mail/e-mail-browser.c
index aaa12b1d14..1125510915 100644
--- a/mail/e-mail-browser.c
+++ b/mail/e-mail-browser.c
@@ -559,7 +559,6 @@ mail_browser_constructed (GObject *object)
GtkWidget *widget;
EWebView *web_view;
const gchar *domain;
- const gchar *key;
const gchar *id;
guint merge_id;
diff --git a/mail/e-mail-label-list-store.c b/mail/e-mail-label-list-store.c
index 5ceacb02e7..ed8efb72b1 100644
--- a/mail/e-mail-label-list-store.c
+++ b/mail/e-mail-label-list-store.c
@@ -202,7 +202,9 @@ labels_model_changed_cb (GtkTreeModel *model,
}
g_ptr_array_add (array, NULL);
- g_settings_set_strv (store->priv->mail_settings, "labels", array->pdata);
+ g_settings_set_strv (
+ store->priv->mail_settings, "labels",
+ (const gchar * const *) array->pdata);
g_ptr_array_free (array, TRUE);
g_signal_handlers_unblock_by_func (store->priv->mail_settings, labels_settings_changed_cb, store);
diff --git a/mail/e-mail-reader.c b/mail/e-mail-reader.c
index 0a48f3d455..22b1e0e7c6 100644
--- a/mail/e-mail-reader.c
+++ b/mail/e-mail-reader.c
@@ -3427,7 +3427,6 @@ e_mail_reader_init (EMailReader *reader,
GtkAction *action;
gboolean sensitive;
const gchar *action_name;
- const gchar *key;
#ifndef G_OS_WIN32
GSettings *settings;
diff --git a/mail/e-mail-session.c b/mail/e-mail-session.c
index f4fcbb26af..4f863af242 100644
--- a/mail/e-mail-session.c
+++ b/mail/e-mail-session.c
@@ -70,8 +70,6 @@
(G_TYPE_INSTANCE_GET_PRIVATE \
((obj), E_TYPE_MAIL_SESSION, EMailSessionPrivate))
-static guint session_check_junk_notify_id;
-
typedef struct _AsyncContext AsyncContext;
struct _EMailSessionPrivate {
diff --git a/mail/em-composer-utils.c b/mail/em-composer-utils.c
index 85fc96d751..e571e84f60 100644
--- a/mail/em-composer-utils.c
+++ b/mail/em-composer-utils.c
@@ -2792,7 +2792,6 @@ composer_set_body (EMsgComposer *composer,
GSettings *settings;
gboolean start_bottom, has_body_text = FALSE;
guint32 validity_found = 0;
- const gchar *key;
settings = g_settings_new ("org.gnome.evolution.mail");
@@ -2839,7 +2838,6 @@ composer_set_body (EMsgComposer *composer,
GtkhtmlEditor *editor = GTKHTML_EDITOR (composer);
gboolean move_cursor_to_end;
gboolean top_signature;
- const gchar *key;
/* If we are placing signature on top, then move cursor to the end,
* otherwise try to find the signature place and place cursor just
diff --git a/mail/em-folder-properties.c b/mail/em-folder-properties.c
index 6c8b97aa32..310aa76740 100644
--- a/mail/em-folder-properties.c
+++ b/mail/em-folder-properties.c
@@ -254,7 +254,6 @@ emfp_dialog_run (AsyncContext *context)
gboolean hide_deleted;
GSettings *settings;
const gchar *name;
- const gchar *key;
shell_view = context->shell_view;
shell_window = e_shell_view_get_shell_window (shell_view);
diff --git a/mail/message-list.c b/mail/message-list.c
index e9793355fb..1b8f0d16fd 100644
--- a/mail/message-list.c
+++ b/mail/message-list.c
@@ -5010,7 +5010,6 @@ mail_regen_list (MessageList *ml,
{
struct _regen_list_msg *m;
GSettings *settings;
- const gchar *key;
gboolean thread_subject;
/* report empty search as NULL, not as one/two-space string */