|
From: gnome-perl (bugzilla.gnome.org) <bug...@bu...> - 2007-04-09 13:57:03
|
If you have any questions why you received this email, please see the text at the end of this email. Replies to this email are NOT read, please see the text at the end of this email. You can add comments to this bug at: http://bugzilla.gnome.org/show_bug.cgi?id=426729 gnome-perl | Gtk2 | Ver: unspecified ------- Comment #3 from Jason Zwolak 2007-04-09 13:57 UTC ------- The C code above doesn't link. Instead I used the following code and tested on a Windows XP machine (using Visual C Express 2005 to compile): #include <gtk/gtk.h> int main (int argc, char *argv[]) { GtkWidget * window; GtkWidget * button; g_thread_init (NULL); gdk_threads_init (); gtk_init (&argc, &argv); window = gtk_window_new (GTK_WINDOW_TOPLEVEL); button = gtk_button_new_with_label ("Click me"); gtk_container_add (GTK_CONTAINER (window), button); gtk_widget_show_all (window); gtk_main (); return 0; } This produces the same problem as before: the GtkWindow is displayed but the contents are not drawn and the application is non-responsive. I tested with Gtk 2.8.20 (the most recent version supported by the binary distributions of gtk2-perl) and Gtk 2.10.11 (the most recent binary/devel download from http://gladewin32.sourceforge.net/modules/wfdownloads/). Jason -- See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received this email, why you can't respond via email, how to stop receiving emails (or reduce the number you receive), and how to contact someone if you are having problems with the system. You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=426729. |