GNOME Bugzilla – Bug 694341
Problems running gtk3-demo on Windows builds after port the GResources
Last modified: 2013-02-21 08:09:35 UTC
Hi, Not too long ago, the gtk demo program was extensively ported to GResources, but however, when I was running the gtk3-demo program, most of the resources (the sources to display in the demo window, images, etc.) failed to load. If I read the commit message correctly, I thought I would no longer need to install the demo data files as they have been built into the resources. In case this might sound interesting to people, I was able to successfully run the resources test program from glib/gio. With blessings, thank you! These are the messages that are displayed, for references: --- (gtk3-demo.exe:5776): Gtk-CRITICAL **: file ..\..\..\gtk\gtkwindow.c: line 3956: assertion `GDK_IS_PIXBUF (icon)' failed (gtk3-demo.exe:5776): Glib-GObject-CRITICAL **: file ..\..\..\gobject\gobject.c: line 2916: assertion `G_IS_OBJECT (object)' failed ** (gtk3-demo.exe:5776): WARNING **: Cannot open source for application.c: The r esource at '/sources/application.c' does not exist ** (gtk3-demo.exe:5776): WARNING **: Cannot open source for appwindow.c: The res ource at '/sources/appwindow.c' does not exist ** ERROR:..\..\..\demos\gtk-demo\appwindow.c:322:register_stock_icons: assertion fa iled: (pixbuf) This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information. c:\gnome.build.unstable\gtk+-3.7.11\demos\gtk-demo>gtk3-demo (gtk3-demo.exe:3432): Gtk-CRITICAL **: file ..\..\..\gtk\gtkwindow.c: line 3956: assertion `GDK_IS_PIXBUF (icon)' failed (gtk3-demo.exe:3432): Glib-GObject-CRITICAL **: file ..\..\..\gobject\gobject.c: line 2916: assertion `G_IS_OBJECT (object)' failed ** (gtk3-demo.exe:3432): WARNING **: Cannot open source for application.c: The r esource at '/sources/application.c' does not exist ** (gtk3-demo.exe:3432): WARNING **: Cannot open source for combobox.c: The reso urce at '/sources/combobox.c' does not exist ** (gtk3-demo.exe:3432): WARNING **: Cannot open source for pixbufs.c: The resou rce at '/sources/pixbufs.c' does not exist (gtk3-demo.exe:3432): Glib-CRITICAL **: file ..\..\..\glib\gmain.c: line 2191: a ssertion `tag > 0' failed ** (gtk3-demo.exe:3432): WARNING **: Cannot open source for pickers.c: The resou rce at '/sources/pickers.c' does not exist ---
Sorry, I mistakenly submitted the bug two times. *** This bug has been marked as a duplicate of bug 694342 ***