How to access a GObject's class?



Hi!

I can't seem to find the correct way to access the class for a specific
GObject instance. That is, how would I replace:

#define CLASS(cnc)  (GDA_SERVER_CONNECTION_CLASS (GTK_OBJECT
(cnc)->klass))

for glib 2.0?

cheers
--
Rodrigo Moya <rodrigo gnome-db org> - <rodrigo ximian com>
http://www.gnome-db.org/ - http://www.ximian.com/




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