GNOME Bugzilla – Bug 57888
GLib 2.0
Last modified: 2004-12-22 21:47:04 UTC
We should start shipping a GLib 2.0-based version of libgda and gnome-db (or at least prepare it) as soon as possible. So, the quickest way would be to provide, in the file libgda/lib/gda-common/gda-common-defs.h #defines for all the functions, macros, data types that are different for GObject and GtkObject, and use these #define's everywhere so that the same source code is used to compile both versions. So, for example: #if defined(HAVE_GOBJECT) # define gda_object_unref g_object_unref # define gda_object_ref g_object_ref # define GdaType GType #else # define gda_object_unref gtk_object_unref # define gda_object_ref gtk_object_ref # define GdaType GtkType #endif
No, don't do this. I've now created a new CVS branch (gnome-2-0-branch) where all the glib-2.0 related code should go
Setting all bugs to the GNOME-1-x milestone. A review is needed, because some of these bugs may be perfectly moved to the LIBGDA-1-0 milestone