aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-object.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-10-17 05:47:34 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-10-17 05:47:34 +0800
commitfac0dbd69c7d8a6807d51cc12615de88b7a900be (patch)
treeb34bd96cea24b980bb4719a36f99e9a59c050a48 /camel/camel-object.c
parent700863d70308d66b7ce99d851254dff20a6ad80b (diff)
downloadgsoc2013-evolution-fac0dbd69c7d8a6807d51cc12615de88b7a900be.tar
gsoc2013-evolution-fac0dbd69c7d8a6807d51cc12615de88b7a900be.tar.gz
gsoc2013-evolution-fac0dbd69c7d8a6807d51cc12615de88b7a900be.tar.bz2
gsoc2013-evolution-fac0dbd69c7d8a6807d51cc12615de88b7a900be.tar.lz
gsoc2013-evolution-fac0dbd69c7d8a6807d51cc12615de88b7a900be.tar.xz
gsoc2013-evolution-fac0dbd69c7d8a6807d51cc12615de88b7a900be.tar.zst
gsoc2013-evolution-fac0dbd69c7d8a6807d51cc12615de88b7a900be.zip
If CAMEL_DEBUG is defined, print some useful ref/unref info.
2001-10-16 Jeffrey Stedfast <fejj@ximian.com> * camel-object.[c,h]: If CAMEL_DEBUG is defined, print some useful ref/unref info. * providers/imap/camel-imap-store.c (delete_folder): Fixed an assignment warning. * camel-uid-cache.c (camel_uid_cache_new): Make sure that the parent directory exists before trying to open the filename, if it doesn't, create it. svn path=/trunk/; revision=13707
Diffstat (limited to 'camel/camel-object.c')
-rw-r--r--camel/camel-object.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/camel/camel-object.c b/camel/camel-object.c
index 68b9278d8f..c04415cce9 100644
--- a/camel/camel-object.c
+++ b/camel/camel-object.c
@@ -478,6 +478,10 @@ camel_object_new (CamelType type)
return instance;
}
+#ifdef camel_object_ref
+#undef camel_object_ref
+#endif
+
void
camel_object_ref (CamelObject * obj)
{
@@ -488,6 +492,10 @@ camel_object_ref (CamelObject * obj)
G_UNLOCK (refcount);
}
+#ifdef camel_object_unref
+#undef camel_object_unref
+#endif
+
void
camel_object_unref (CamelObject * obj)
{