aboutsummaryrefslogtreecommitdiffstats
path: root/modules/vcard-inline/e-mail-parser-vcard-inline.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2013-05-20 00:05:41 +0800
committerMatthew Barnes <mbarnes@redhat.com>2013-05-20 01:07:21 +0800
commit8858e3983c4321e1bc2a541c5adc327209805632 (patch)
tree25641aafa475e1acafc62d01d2ac573fc600e4f3 /modules/vcard-inline/e-mail-parser-vcard-inline.c
parent4b80da91e84275388e861923eca75e608d6091cc (diff)
downloadgsoc2013-evolution-8858e3983c4321e1bc2a541c5adc327209805632.tar.gz
gsoc2013-evolution-8858e3983c4321e1bc2a541c5adc327209805632.tar.zst
gsoc2013-evolution-8858e3983c4321e1bc2a541c5adc327209805632.zip
Rename EMailPartVCardInline to EMailPartVCard.
Diffstat (limited to 'modules/vcard-inline/e-mail-parser-vcard-inline.c')
-rw-r--r--modules/vcard-inline/e-mail-parser-vcard-inline.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/modules/vcard-inline/e-mail-parser-vcard-inline.c b/modules/vcard-inline/e-mail-parser-vcard-inline.c
index e59c2543d4..899f24bc2b 100644
--- a/modules/vcard-inline/e-mail-parser-vcard-inline.c
+++ b/modules/vcard-inline/e-mail-parser-vcard-inline.c
@@ -26,7 +26,7 @@
#include <glib/gstdio.h>
#include "e-mail-parser-vcard-inline.h"
-#include "e-mail-part-vcard-inline.h"
+#include "e-mail-part-vcard.h"
#include <camel/camel.h>
@@ -70,7 +70,7 @@ static const gchar *parser_mime_types[] = {
static void
mail_part_vcard_inline_free (EMailPart *mail_part)
{
- EMailPartVCardInline *vi_part = (EMailPartVCardInline *) mail_part;
+ EMailPartVCard *vi_part = (EMailPartVCard *) mail_part;
g_clear_object (&vi_part->contact_display);
g_clear_object (&vi_part->message_label);
@@ -134,7 +134,7 @@ client_connect_cb (GObject *source_object,
static void
save_vcard_cb (WebKitDOMEventTarget *button,
WebKitDOMEvent *event,
- EMailPartVCardInline *vcard_part)
+ EMailPartVCard *vcard_part)
{
EShell *shell;
ESource *source;
@@ -180,7 +180,7 @@ save_vcard_cb (WebKitDOMEventTarget *button,
static void
display_mode_toggle_cb (WebKitDOMEventTarget *button,
WebKitDOMEvent *event,
- EMailPartVCardInline *vcard_part)
+ EMailPartVCard *vcard_part)
{
EABContactDisplayMode mode;
gchar *uri;
@@ -238,7 +238,7 @@ display_mode_toggle_cb (WebKitDOMEventTarget *button,
}
static void
-bind_dom (EMailPartVCardInline *vcard_part,
+bind_dom (EMailPartVCard *vcard_part,
WebKitDOMElement *attachment)
{
WebKitDOMNodeList *list;
@@ -290,7 +290,7 @@ bind_dom (EMailPartVCardInline *vcard_part,
}
static void
-decode_vcard (EMailPartVCardInline *vcard_part,
+decode_vcard (EMailPartVCard *vcard_part,
CamelMimePart *mime_part)
{
CamelDataWrapper *data_wrapper;
@@ -329,15 +329,15 @@ empe_vcard_inline_parse (EMailParserExtension *extension,
GCancellable *cancellable,
GQueue *out_mail_parts)
{
- EMailPartVCardInline *vcard_part;
+ EMailPartVCard *vcard_part;
GQueue work_queue = G_QUEUE_INIT;
gint len;
len = part_id->len;
g_string_append (part_id, ".org-gnome-vcard-inline-display");
- vcard_part = (EMailPartVCardInline *) e_mail_part_subclass_new (
- part, part_id->str, sizeof (EMailPartVCardInline),
+ vcard_part = (EMailPartVCard *) e_mail_part_subclass_new (
+ part, part_id->str, sizeof (EMailPartVCard),
(GFreeFunc) mail_part_vcard_inline_free);
vcard_part->parent.mime_type = camel_content_type_simple (
camel_mime_part_get_content_type (part));