[gnome-db]GdaConnectionPoolClass parent class



Ok, as some of you know, I've been working on cleaning up the handling of
GObject v. GtkObject in libgda.  Right now I'm looking at
gda-connection-pool.h.  Specifically, I'm looking at the structure of
GdaConnectionPoolClass, and I've come across the following code:

#ifdef HAVE_GOBJECT
	GObjectClass   parent_class;
	GObjectClass   *parent;
#else
	GtkObjectClass parent_class;
#endif

I'm assuming the duplication of parent and parent_class is an error.  If not,
and there is some reasoning behind this, please let me know.

For now, I intend to replace the above code with:

	GdaObjectClass parent_class;


Regards,
Ian

-- 
A kind word need not cost much,
The price of praise can be cheap:
With half a loaf and an empty cup
I found myself a friend.
--Havamal, St. 52




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]