aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/templates
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 /plugins/templates
parentf862e946b83d5f70001c3d81290ecc8a0d8ca2a0 (diff)
downloadgsoc2013-evolution-bc90469e7f3bfd31dc6530c2d1ba1cc519a8a3a7.tar
gsoc2013-evolution-bc90469e7f3bfd31dc6530c2d1ba1cc519a8a3a7.tar.gz
gsoc2013-evolution-bc90469e7f3bfd31dc6530c2d1ba1cc519a8a3a7.tar.bz2
gsoc2013-evolution-bc90469e7f3bfd31dc6530c2d1ba1cc519a8a3a7.tar.lz
gsoc2013-evolution-bc90469e7f3bfd31dc6530c2d1ba1cc519a8a3a7.tar.xz
gsoc2013-evolution-bc90469e7f3bfd31dc6530c2d1ba1cc519a8a3a7.tar.zst
gsoc2013-evolution-bc90469e7f3bfd31dc6530c2d1ba1cc519a8a3a7.zip
Camel is now GObject-based.
Diffstat (limited to 'plugins/templates')
-rw-r--r--plugins/templates/templates.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/plugins/templates/templates.c b/plugins/templates/templates.c
index 7971ea3b72..97281246b5 100644
--- a/plugins/templates/templates.c
+++ b/plugins/templates/templates.c
@@ -486,7 +486,7 @@ create_new_message (CamelFolder *folder, const gchar *uid, CamelMimeMessage *mes
camel_data_wrapper_write_to_stream (CAMEL_DATA_WRAPPER (template), mem);
camel_stream_reset (mem);
camel_data_wrapper_construct_from_stream (CAMEL_DATA_WRAPPER (new), mem);
- camel_object_unref (mem);
+ g_object_unref (mem);
/* Add the headers from the message we are replying to, so CC and that
* stuff is preserved. */
@@ -514,7 +514,7 @@ create_new_message (CamelFolder *folder, const gchar *uid, CamelMimeMessage *mes
/* Create the composer */
em_utils_edit_message (new, folder);
- camel_object_unref(new);
+ g_object_unref (new);
}
static void
@@ -605,7 +605,7 @@ build_template_menus_recurse (GtkUIManager *ui_manager,
continue;
template = camel_folder_get_message (folder, uid, NULL);
- camel_object_ref (template);
+ g_object_ref (template);
action_label =
camel_mime_message_get_subject (template);
@@ -620,7 +620,7 @@ build_template_menus_recurse (GtkUIManager *ui_manager,
action_name, action_label, NULL, NULL);
muid = camel_pstring_strdup (message_uid);
- camel_object_ref (message_folder);
+ g_object_ref (message_folder);
g_object_set_data_full (
G_OBJECT (action), "message_uid", (gpointer) muid,
@@ -628,11 +628,11 @@ build_template_menus_recurse (GtkUIManager *ui_manager,
g_object_set_data_full (
G_OBJECT (action), "message_folder", message_folder,
- (GDestroyNotify) camel_object_unref);
+ (GDestroyNotify) g_object_unref);
g_object_set_data_full (
G_OBJECT (action), "template", template,
- (GDestroyNotify) camel_object_unref);
+ (GDestroyNotify) g_object_unref);
g_signal_connect (
action, "activate",