aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-event.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2010-04-23 22:28:53 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-04-24 23:05:27 +0800
commitbc90469e7f3bfd31dc6530c2d1ba1cc519a8a3a7 (patch)
treef5d0cc91fc1568431e0b457406a9b3ea21157e0e /mail/em-event.c
parentf862e946b83d5f70001c3d81290ecc8a0d8ca2a0 (diff)
downloadgsoc2013-evolution-bc90469e7f3bfd31dc6530c2d1ba1cc519a8a3a7.tar.gz
gsoc2013-evolution-bc90469e7f3bfd31dc6530c2d1ba1cc519a8a3a7.tar.zst
gsoc2013-evolution-bc90469e7f3bfd31dc6530c2d1ba1cc519a8a3a7.zip
Camel is now GObject-based.
Diffstat (limited to 'mail/em-event.c')
-rw-r--r--mail/em-event.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/mail/em-event.c b/mail/em-event.c
index 6a77debd7e..a84eb92264 100644
--- a/mail/em-event.c
+++ b/mail/em-event.c
@@ -63,9 +63,9 @@ eme_target_free(EEvent *ep, EEventTarget *t)
EMEventTargetMessage *s = (EMEventTargetMessage *)t;
if (s->folder)
- camel_object_unref(s->folder);
+ g_object_unref (s->folder);
if (s->message)
- camel_object_unref(s->message);
+ g_object_unref (s->message);
g_free(s->uid);
if (s->composer)
g_object_unref (s->composer);
@@ -162,10 +162,10 @@ em_event_target_new_message(EMEvent *eme, CamelFolder *folder, CamelMimeMessage
t->uid = g_strdup (uid);
t->folder = folder;
if (folder)
- camel_object_ref(folder);
+ g_object_ref (folder);
t->message = message;
if (message)
- camel_object_ref(message);
+ g_object_ref (message);
t->target.mask = ~flags;
if (composer)
t->composer = g_object_ref(G_OBJECT(composer));