From a8a74beaa9b5b368a037c9b2fb592a89cb43ecc0 Mon Sep 17 00:00:00 2001 From: Luke Yelavich Date: Thu, 17 Feb 2011 09:56:38 +1100 Subject: No need to use g_strdup, the variable is a const --- src/indicator-messages.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/indicator-messages.c b/src/indicator-messages.c index ebf670d..77a7b70 100644 --- a/src/indicator-messages.c +++ b/src/indicator-messages.c @@ -193,10 +193,10 @@ proxy_signal (GDBusProxy * proxy, const gchar * sender, const gchar * signal, GV if (g_strcmp0("AttentionChanged", signal) == 0) { if (prop) { indicator_image_helper_update(GTK_IMAGE(main_image), "indicator-messages-new"); - accessible_desc = g_strdup(_("New Messages")); + accessible_desc = _("New Messages"); } else { indicator_image_helper_update(GTK_IMAGE(main_image), "indicator-messages"); - accessible_desc = g_strdup(_("Messages")); + accessible_desc = _("Messages"); } } else if (g_strcmp0("IconChanged", signal) == 0) { if (prop) { -- cgit v1.2.3