aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2013-05-29 18:56:35 +0800
committerMatthew Barnes <mbarnes@redhat.com>2013-05-29 19:09:20 +0800
commitc27e3a1dd2241029b8ccb316cc5b5134f96a12a1 (patch)
tree359f75659145e9d1b4665c83e1c9df76ed6c3871 /modules
parent9bfe38c419c7b864b4e1a5f4f2b50416a1e08e41 (diff)
downloadgsoc2013-evolution-c27e3a1dd2241029b8ccb316cc5b5134f96a12a1.tar
gsoc2013-evolution-c27e3a1dd2241029b8ccb316cc5b5134f96a12a1.tar.gz
gsoc2013-evolution-c27e3a1dd2241029b8ccb316cc5b5134f96a12a1.tar.bz2
gsoc2013-evolution-c27e3a1dd2241029b8ccb316cc5b5134f96a12a1.tar.lz
gsoc2013-evolution-c27e3a1dd2241029b8ccb316cc5b5134f96a12a1.tar.xz
gsoc2013-evolution-c27e3a1dd2241029b8ccb316cc5b5134f96a12a1.tar.zst
gsoc2013-evolution-c27e3a1dd2241029b8ccb316cc5b5134f96a12a1.zip
EMailParserAudio: Minor cleanup.
Diffstat (limited to 'modules')
-rw-r--r--modules/audio-inline/e-mail-parser-audio.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/modules/audio-inline/e-mail-parser-audio.c b/modules/audio-inline/e-mail-parser-audio.c
index c9c41335ac..0e165648f8 100644
--- a/modules/audio-inline/e-mail-parser-audio.c
+++ b/modules/audio-inline/e-mail-parser-audio.c
@@ -74,7 +74,7 @@ static const gchar *parser_mime_types[] = {
NULL
};
-static gint
+static gboolean
mail_parser_audio_parse (EMailParserExtension *extension,
EMailParser *parser,
CamelMimePart *part,
@@ -85,7 +85,6 @@ mail_parser_audio_parse (EMailParserExtension *extension,
EMailPart *mail_part;
GQueue work_queue = G_QUEUE_INIT;
gint len;
- gint n_parts_added = 0;
len = part_id->len;
g_string_append (part_id, ".org-gnome-audio-button-panel");
@@ -97,7 +96,6 @@ mail_parser_audio_parse (EMailParserExtension *extension,
g_string_truncate (part_id, len);
g_queue_push_tail (&work_queue, mail_part);
- n_parts_added++;
e_mail_parser_wrap_as_attachment (
parser, part, part_id, &work_queue);