diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2010-04-23 22:28:53 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2010-04-24 23:05:27 +0800 |
commit | bc90469e7f3bfd31dc6530c2d1ba1cc519a8a3a7 (patch) | |
tree | f5d0cc91fc1568431e0b457406a9b3ea21157e0e /mail/e-mail-store.c | |
parent | f862e946b83d5f70001c3d81290ecc8a0d8ca2a0 (diff) | |
download | gsoc2013-evolution-bc90469e7f3bfd31dc6530c2d1ba1cc519a8a3a7.tar.gz gsoc2013-evolution-bc90469e7f3bfd31dc6530c2d1ba1cc519a8a3a7.tar.zst gsoc2013-evolution-bc90469e7f3bfd31dc6530c2d1ba1cc519a8a3a7.zip |
Camel is now GObject-based.
Diffstat (limited to 'mail/e-mail-store.c')
-rw-r--r-- | mail/e-mail-store.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/mail/e-mail-store.c b/mail/e-mail-store.c index 1024ec6b68..3418404e06 100644 --- a/mail/e-mail-store.c +++ b/mail/e-mail-store.c @@ -74,7 +74,7 @@ store_info_new (CamelStore *store, store_info = g_slice_new0 (StoreInfo); store_info->ref_count = 1; - camel_object_ref (store); + g_object_ref (store); store_info->store = store; if (display_name == NULL) @@ -113,14 +113,14 @@ store_info_unref (StoreInfo *store_info) if (g_atomic_int_exchange_and_add (&store_info->ref_count, -1) > 1) return; - camel_object_unref (store_info->store); + g_object_unref (store_info->store); g_free (store_info->display_name); if (store_info->vtrash != NULL) - camel_object_unref (store_info->vtrash); + g_object_unref (store_info->vtrash); if (store_info->vjunk != NULL) - camel_object_unref (store_info->vjunk); + g_object_unref (store_info->vjunk); g_slice_free (StoreInfo, store_info); } @@ -327,7 +327,7 @@ e_mail_store_add_by_uri (const gchar *uri, e_mail_store_add (CAMEL_STORE (service), display_name); - camel_object_unref (service); + g_object_unref (service); return CAMEL_STORE (service); @@ -346,7 +346,7 @@ static void mail_store_remove_cb (CamelStore *store) { camel_service_disconnect (CAMEL_SERVICE (store), TRUE, NULL); - camel_object_unref (store); + g_object_unref (store); } void @@ -366,7 +366,7 @@ e_mail_store_remove (CamelStore *store) if (g_hash_table_lookup (store_table, store) == NULL) return; - camel_object_ref (store); + g_object_ref (store); g_hash_table_remove (store_table, store); mail_folder_cache_note_store_remove (mail_folder_cache_get_default (), store); @@ -402,7 +402,7 @@ e_mail_store_remove_by_uri (const gchar *uri) e_mail_store_remove (CAMEL_STORE (service)); - camel_object_unref (service); + g_object_unref (service); } void |