[evolution-exchange/camel-gobject: 3/6] Replace camel_object_ref() with g_object_ref().
- From: Matthew Barnes <mbarnes src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [evolution-exchange/camel-gobject: 3/6] Replace camel_object_ref() with g_object_ref().
- Date: Sun, 29 Nov 2009 18:39:33 +0000 (UTC)
commit e7bb300ad13a925f1fff7b67b7487f7cc19838c6
Author: Matthew Barnes <mbarnes redhat com>
Date: Sat Nov 28 19:15:51 2009 -0500
Replace camel_object_ref() with g_object_ref().
camel/camel-exchange-store.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/camel/camel-exchange-store.c b/camel/camel-exchange-store.c
index 47d1b76..77ec2b0 100644
--- a/camel/camel-exchange-store.c
+++ b/camel/camel-exchange-store.c
@@ -435,7 +435,7 @@ exchange_get_folder (CamelStore *store, const gchar *folder_name,
* by the store-level cache...
*/
g_mutex_unlock (exch->folders_lock);
- camel_object_ref (CAMEL_OBJECT (folder));
+ g_object_ref (CAMEL_OBJECT (folder));
g_free (folder_dir);
return folder;
}
@@ -465,7 +465,7 @@ exchange_get_folder (CamelStore *store, const gchar *folder_name,
* may create and then unref the folder. That's a waste. So don't
* let that happen. Probably not the best fix...
*/
- camel_object_ref (CAMEL_OBJECT (folder));
+ g_object_ref (CAMEL_OBJECT (folder));
return folder;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]