diff options
author | Luke Yelavich <luke.yelavich@canonical.com> | 2011-02-17 09:56:38 +1100 |
---|---|---|
committer | Luke Yelavich <luke.yelavich@canonical.com> | 2011-02-17 09:56:38 +1100 |
commit | a8a74beaa9b5b368a037c9b2fb592a89cb43ecc0 (patch) | |
tree | 7bee9aac0e1ca7db62544f8f64c7bf69c1390702 /src | |
parent | cbf07a1b51b423cf125456622f7f48b9c81c89ff (diff) | |
download | ayatana-indicator-messages-a8a74beaa9b5b368a037c9b2fb592a89cb43ecc0.tar.gz ayatana-indicator-messages-a8a74beaa9b5b368a037c9b2fb592a89cb43ecc0.tar.bz2 ayatana-indicator-messages-a8a74beaa9b5b368a037c9b2fb592a89cb43ecc0.zip |
No need to use g_strdup, the variable is a const
Diffstat (limited to 'src')
-rw-r--r-- | src/indicator-messages.c | 4 |
1 files changed, 2 insertions, 2 deletions
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) { |