diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2013-05-19 23:51:28 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2013-05-20 01:07:21 +0800 |
commit | 8f2969b5fd7ba7c18d3b5762508e70ea1a39a13e (patch) | |
tree | 88377126899cbafc6221393046d18aa4efcbe375 | |
parent | 179d763cf5437c4f7f7306e9d50791895c831c44 (diff) | |
download | gsoc2013-evolution-8f2969b5fd7ba7c18d3b5762508e70ea1a39a13e.tar gsoc2013-evolution-8f2969b5fd7ba7c18d3b5762508e70ea1a39a13e.tar.gz gsoc2013-evolution-8f2969b5fd7ba7c18d3b5762508e70ea1a39a13e.tar.bz2 gsoc2013-evolution-8f2969b5fd7ba7c18d3b5762508e70ea1a39a13e.tar.lz gsoc2013-evolution-8f2969b5fd7ba7c18d3b5762508e70ea1a39a13e.tar.xz gsoc2013-evolution-8f2969b5fd7ba7c18d3b5762508e70ea1a39a13e.tar.zst gsoc2013-evolution-8f2969b5fd7ba7c18d3b5762508e70ea1a39a13e.zip |
Rename EMailParserAudioInline to EMailParserAudio.
-rw-r--r-- | modules/audio-inline/Makefile.am | 4 | ||||
-rw-r--r-- | modules/audio-inline/e-mail-parser-audio.c (renamed from modules/audio-inline/e-mail-parser-audio-inline.c) | 40 | ||||
-rw-r--r-- | modules/audio-inline/e-mail-parser-audio.h (renamed from modules/audio-inline/e-mail-parser-audio-inline.h) | 10 | ||||
-rw-r--r-- | modules/audio-inline/evolution-module-audio-inline.c | 4 |
4 files changed, 29 insertions, 29 deletions
diff --git a/modules/audio-inline/Makefile.am b/modules/audio-inline/Makefile.am index 9da77d0d15..49d8ab10f0 100644 --- a/modules/audio-inline/Makefile.am +++ b/modules/audio-inline/Makefile.am @@ -13,8 +13,8 @@ module_audio_inline_la_CPPFLAGS = \ module_audio_inline_la_SOURCES = \ e-mail-formatter-audio-inline.c \ e-mail-formatter-audio-inline.h \ - e-mail-parser-audio-inline.c \ - e-mail-parser-audio-inline.h \ + e-mail-parser-audio.c \ + e-mail-parser-audio.h \ e-mail-part-audio.h \ evolution-module-audio-inline.c diff --git a/modules/audio-inline/e-mail-parser-audio-inline.c b/modules/audio-inline/e-mail-parser-audio.c index 54d6a98f43..c81a94bcff 100644 --- a/modules/audio-inline/e-mail-parser-audio-inline.c +++ b/modules/audio-inline/e-mail-parser-audio.c @@ -1,5 +1,5 @@ /* - * e-mail-parser-audio-inline.c + * e-mail-parser-audio.c * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -25,7 +25,7 @@ #include <glib/gi18n.h> #include <glib/gstdio.h> -#include "e-mail-parser-audio-inline.h" +#include "e-mail-parser-audio.h" #include "e-mail-part-audio.h" #include <camel/camel.h> @@ -38,17 +38,17 @@ #define d(x) -typedef EMailParserExtension EMailParserAudioInline; -typedef EMailParserExtensionClass EMailParserAudioInlineClass; +typedef EMailParserExtension EMailParserAudio; +typedef EMailParserExtensionClass EMailParserAudioClass; -typedef EExtension EMailParserAudioInlineLoader; -typedef EExtensionClass EMailParserAudioInlineLoaderClass; +typedef EExtension EMailParserAudioLoader; +typedef EExtensionClass EMailParserAudioLoaderClass; -GType e_mail_parser_audio_inline_get_type (void); +GType e_mail_parser_audio_get_type (void); G_DEFINE_DYNAMIC_TYPE ( - EMailParserAudioInline, - e_mail_parser_audio_inline, + EMailParserAudio, + e_mail_parser_audio, E_TYPE_MAIL_PARSER_EXTENSION) static const gchar *parser_mime_types[] = { @@ -76,7 +76,7 @@ static const gchar *parser_mime_types[] = { }; static void -mail_part_audio_inline_free (EMailPart *mail_part) +mail_part_audio_free (EMailPart *mail_part) { EMailPartAudio *ai_part = (EMailPartAudio *) mail_part; @@ -103,7 +103,7 @@ mail_part_audio_inline_free (EMailPart *mail_part) } static gint -empe_audio_inline_parse (EMailParserExtension *extension, +mail_parser_audio_parse (EMailParserExtension *extension, EMailParser *parser, CamelMimePart *part, GString *part_id, @@ -116,13 +116,13 @@ empe_audio_inline_parse (EMailParserExtension *extension, gint n_parts_added = 0; len = part_id->len; - g_string_append (part_id, ".org-gnome-audio-inline-button-panel"); + g_string_append (part_id, ".org-gnome-audio-button-panel"); - d (printf ("audio inline formatter: format classid %s\n", part_id->str)); + d (printf ("audio formatter: format classid %s\n", part_id->str)); mail_part = (EMailPartAudio *) e_mail_part_subclass_new ( part, part_id->str, sizeof (EMailPartAudio), - (GFreeFunc) mail_part_audio_inline_free); + (GFreeFunc) mail_part_audio_free); mail_part->parent.mime_type = camel_content_type_simple ( camel_mime_part_get_content_type (part)); mail_part->parent.is_attachment = TRUE; @@ -140,27 +140,27 @@ empe_audio_inline_parse (EMailParserExtension *extension, } static void -e_mail_parser_audio_inline_class_init (EMailParserExtensionClass *class) +e_mail_parser_audio_class_init (EMailParserExtensionClass *class) { class->mime_types = parser_mime_types; class->flags = E_MAIL_PARSER_EXTENSION_INLINE_DISPOSITION; - class->parse = empe_audio_inline_parse; + class->parse = mail_parser_audio_parse; } static void -e_mail_parser_audio_inline_class_finalize (EMailParserExtensionClass *class) +e_mail_parser_audio_class_finalize (EMailParserExtensionClass *class) { } static void -e_mail_parser_audio_inline_init (EMailParserExtension *extension) +e_mail_parser_audio_init (EMailParserExtension *extension) { } void -e_mail_parser_audio_inline_type_register (GTypeModule *type_module) +e_mail_parser_audio_type_register (GTypeModule *type_module) { - e_mail_parser_audio_inline_register_type (type_module); + e_mail_parser_audio_register_type (type_module); } diff --git a/modules/audio-inline/e-mail-parser-audio-inline.h b/modules/audio-inline/e-mail-parser-audio.h index 8c80becb20..fa7119c796 100644 --- a/modules/audio-inline/e-mail-parser-audio-inline.h +++ b/modules/audio-inline/e-mail-parser-audio.h @@ -1,5 +1,5 @@ /* - * e-mail-parser-audio-inline.h + * e-mail-parser-audio.h * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -16,15 +16,15 @@ * */ -#ifndef E_MAIL_PARSER_AUDIO_INLINE_H -#define E_MAIL_PARSER_AUDIO_INLINE_H +#ifndef E_MAIL_PARSER_AUDIO_H +#define E_MAIL_PARSER_AUDIO_H #include <glib-object.h> G_BEGIN_DECLS -void e_mail_parser_audio_inline_type_register (GTypeModule *type_module); +void e_mail_parser_audio_type_register (GTypeModule *type_module); G_END_DECLS -#endif /* E_MAIL_PARSER_AUDIO_INLINE_H */ +#endif /* E_MAIL_PARSER_AUDIO_H */ diff --git a/modules/audio-inline/evolution-module-audio-inline.c b/modules/audio-inline/evolution-module-audio-inline.c index 297c5b6ffe..c57f3b286d 100644 --- a/modules/audio-inline/evolution-module-audio-inline.c +++ b/modules/audio-inline/evolution-module-audio-inline.c @@ -17,7 +17,7 @@ */ #include "e-mail-formatter-audio-inline.h" -#include "e-mail-parser-audio-inline.h" +#include "e-mail-parser-audio.h" #include <gmodule.h> @@ -28,7 +28,7 @@ const gchar * g_module_check_init (GModule *module); G_MODULE_EXPORT void e_module_load (GTypeModule *type_module) { - e_mail_parser_audio_inline_type_register (type_module); + e_mail_parser_audio_type_register (type_module); e_mail_formatter_audio_inline_type_register (type_module); } |