aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-object.h
diff options
context:
space:
mode:
author7 <NotZed@Ximian.com>2001-09-28 06:36:53 +0800
committerMichael Zucci <zucchi@src.gnome.org>2001-09-28 06:36:53 +0800
commitc3d6f44895ba788921ab04798c615d2cbac959a7 (patch)
tree95c5994c41bd66832643947d8cc7aef46c4cdb9f /camel/camel-object.h
parent0ac20c6064de6f082ac466731e9fee416cb083f4 (diff)
downloadgsoc2013-evolution-c3d6f44895ba788921ab04798c615d2cbac959a7.tar.gz
gsoc2013-evolution-c3d6f44895ba788921ab04798c615d2cbac959a7.tar.zst
gsoc2013-evolution-c3d6f44895ba788921ab04798c615d2cbac959a7.zip
Fill the finalised data with nonsense, rather than 0's - more easily
2001-09-27 <NotZed@Ximian.com> * camel-object.c (camel_object_unref): Fill the finalised data with nonsense, rather than 0's - more easily detect bad data. (camel_object_new): Clear instance data when we retrieve it off the list. * camel-object.h (_CamelObject): Added an event lock pointer for uh, locking event stuff. Also change the hooklist hashtable into a list. Changed all the code to handle it. Result: thread-safe events, event-hooks, and save memory too, and SHOULD FINALLY FIX THAT UNREAD COUNT PROBLEM. svn path=/trunk/; revision=13201
Diffstat (limited to 'camel/camel-object.h')
-rw-r--r--camel/camel-object.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/camel/camel-object.h b/camel/camel-object.h
index 484d414f10..ec0416d4f4 100644
--- a/camel/camel-object.h
+++ b/camel/camel-object.h
@@ -82,7 +82,7 @@ typedef struct _CamelObject
{
CamelObjectShared s;
CamelObjectClass *classfuncs;
- GHashTable *event_to_hooklist;
+ struct _CamelHookList *hooks;
guint32 ref_count:30;
guint32 in_event:1;
guint32 destroying:1;