I'm trying to port a program which previously used gtk-x11 so that it will work with gtk-win32. For the past day or two I've had a very strange problem with the program crashing unexpectedly. Finally I tracked it down to a problem with the function call g_type_query()
Here's a very simple program that illustrates the problem:- #include <libgnomecanvas/gnome-canvas.h> int main (int argc, char *argv[]) { GTypeQuery base_query = { 0, 0, 0, 0, }; g_type_query(gnome_canvas_get_type(), &base_query); return 0 } 'base_query' is initialised to NULL. When I call 'g_type_query(...)' (linked to gtk-x11) the various fields of 'base_query' get filled with approriate data. However, if I build the same program when linked to gtk-win32, the call to 'g_type_query()' simply fails to do anything, leaving 'base_query' uninitiaised. Please could someone try the above code and let me know if this is a general problem - or whether there's something peculiar with my installation? Many thanks, John _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list