Removed some members from CamelObject (Was: EMemChunk replacement in CamelException)

Philip Van Hoof <[email protected]> Thu, 19 Oct 2006 16:22:46 +0200
Newsgroups gmane.comp.gnome.evolution.patches
Message-ID <[email protected]>
On Thu, 2006-10-19 at 16:17 +0200, Philip Van Hoof wrote:
> A tracker bug for these replacements is here:
> 
> http://bugzilla.gnome.org/show_bug.cgi?id=363156
> 
> A ChangeLog will be appended to the combined patch once most/all
> replacements are finished.

This once actually reduces memory usage a little bit (removing pointers
from an often instantiated type's struct).

It has been added to the tracker bug too.

-- 
Philip Van Hoof, software developer
home: me at pvanhoof dot be
gnome: pvanhoof at gnome dot org
work: vanhoof at x-tend dot be
blog: http://pvanhoof.be/blog

_______________________________________________
Evolution-patches mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/evolution-patches
camel-object.h.diff (text/x-patch, 537 B)
--- /home/pvanhoof/repos/gnome/cvs/evolution-data-server/camel/camel-object.h	2005-08-31 06:21:56.000000000 +0200
+++ camel-object.h	2006-10-19 16:18:45.000000000 +0200
@@ -155,12 +155,6 @@
 	/* available hooks for this class */
 	struct _CamelHookPair *hooks;
 
-	/* memchunks for this type */
-	struct _EMemChunk *instance_chunks;
-#ifdef CAMEL_OBJECT_TRACK_INSTANCES
-	struct _CamelObject *instances;
-#endif
-
 	/* init class */
 	void (*klass_init)(struct _CamelObjectClass *);
 	void (*klass_finalise)(struct _CamelObjectClass *);