[evolution/gnome-3-28] [Mail-Notification] Remove unused code (reported by David Binderman)
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/gnome-3-28] [Mail-Notification] Remove unused code (reported by David Binderman)
- Date: Tue, 17 Jul 2018 13:24:26 +0000 (UTC)
commit 17483d27f68466b0849e59d4bab30661d86f7e4a
Author: Milan Crha <mcrha redhat com>
Date: Tue Jul 17 15:19:18 2018 +0200
[Mail-Notification] Remove unused code (reported by David Binderman)
src/plugins/mail-notification/mail-notification.c | 12 ------------
1 file changed, 12 deletions(-)
---
diff --git a/src/plugins/mail-notification/mail-notification.c
b/src/plugins/mail-notification/mail-notification.c
index 7df0359964..54f1ece1d1 100644
--- a/src/plugins/mail-notification/mail-notification.c
+++ b/src/plugins/mail-notification/mail-notification.c
@@ -384,16 +384,6 @@ new_notify_status (EMEventTargetFolder *t)
const gchar *icon_name;
if (!status_count) {
- CamelService *service;
- const gchar *store_name;
- gchar *folder_name;
-
- service = CAMEL_SERVICE (t->store);
- store_name = camel_service_get_display_name (service);
-
- folder_name = g_strdup_printf (
- "%s/%s", store_name, t->folder_name);
-
status_count = t->new;
text = g_strdup_printf (ngettext (
@@ -402,8 +392,6 @@ new_notify_status (EMEventTargetFolder *t)
"You have received %d new messages.",
status_count), status_count);
- g_free (folder_name);
-
if (t->msg_sender) {
gchar *tmp, *str;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]