aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2010-07-11 21:13:34 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-07-11 21:15:28 +0800
commit2c48f517c1c41d7162e1d9fba89807f812ad3f5f (patch)
tree57b716648d11016adc9f04687d7fff0b8d25b71e /plugins
parent43442ac93b6262cc929574290124a74906248ab8 (diff)
downloadgsoc2013-evolution-2c48f517c1c41d7162e1d9fba89807f812ad3f5f.tar.gz
gsoc2013-evolution-2c48f517c1c41d7162e1d9fba89807f812ad3f5f.tar.zst
gsoc2013-evolution-2c48f517c1c41d7162e1d9fba89807f812ad3f5f.zip
Fix some compiler warnings.
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mail-notification/mail-notification.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/mail-notification/mail-notification.c b/plugins/mail-notification/mail-notification.c
index 0d3a76a0fb..efce1115ab 100644
--- a/plugins/mail-notification/mail-notification.c
+++ b/plugins/mail-notification/mail-notification.c
@@ -481,7 +481,7 @@ can_support_actions (void)
static void
new_notify_status (EMEventTargetFolder *t)
{
- gchar *msg, *safetext;
+ gchar *msg;
gboolean new_icon = !status_icon;
if (new_icon) {
@@ -562,6 +562,8 @@ new_notify_status (EMEventTargetFolder *t)
#ifdef HAVE_LIBNOTIFY
/* Now check whether we're supposed to send notifications */
if (is_part_enabled (GCONF_KEY_STATUS_NOTIFICATION)) {
+ gchar *safetext;
+
safetext = g_markup_escape_text(msg, strlen(msg));
if (notify) {
notify_notification_update (