Hi,
I was building the GTK+ sources about a few days ago (latest GIT
checkout circa 2/24/2013, in which I built my tarballs using 'make dist'
on Linux before I proceeded to build the resulting tarball on my Windows
7 system using Visual C++ 2008. I have noticed that the gtk-demo
sources have been recently ported to make more use of GResources via
gdk_pixbuf_new_from_resource(), gtk_image_new_from_resource() and
gtk_builder_add_from_resource(), but somehow the files that was loaded
via the use of demo_resources.c (compiled from demo.gresource.xml)
failed to load as they could not be found, causing the demos to fail.
By declaring a GError in setup_default_icon() for
gdk_pixbuf_new_from_resource(), this is the message I received when I
printed the GError->message to stderr:
---
Unable to read file: The resource at '/gtk-logo-old.png' does not exist
**
ERROR:..\..\..\demos\gtk-demo\main.c:867:setup_default_icon: assertion
failed: (
pixbuf)
This application has requested the Runtime to terminate it in an unusual
way.
Please contact the application's support team for more information.
---
I have also compiled the demos.gresource.xml file as a.gresources, and
the attached a.resources.details is what I have when I ran "gresource
details a.gresources", for references.
Interestingly, I was able to successfully run the GResources tests from
GLib (under GIO), and the widget-factory demo, which also made use of
GResources, so I am wondering whether GResource handling on Windows
might be different from *NIX platforms in certain cases? Or I may have
missed some points on this?
I have filed a bug regarding this, bug 694342
<https://bugzilla.gnome.org/show_bug.cgi?id=694342>, for references.
Any pointers or info are highly appreciated.
Thank you, with blessings!
3572 u /application/application.ui
2328 u /application/gtk-logo-24.png
9240 u /application/gtk-logo-48.png
4295 u /application/menus.ui
59944 u /appwindow/gtk-logo-old.png
12548 u /builder/demo.ui
1339 u /css_accordion/css_accordion.css
1990 u /css_accordion/reset.css
549 u /css_basics/css_basics.css
1990 u /css_basics/reset.css
11104 u /css_multiplebgs/brick.png
5768 u /css_multiplebgs/css_multiplebgs.
908 u /css_multiplebgs/cssview.css
1990 u /css_multiplebgs/reset.css
3545 u /css_pixbufs/apple-red.png
22219 u /css_pixbufs/background.jpg
908 u /css_pixbufs/cssview.css
3090 u /css_pixbufs/gnome-applets.png
2755 u /css_pixbufs/gnome-calendar.png
2916 u /css_pixbufs/gnome-foot.png
3410 u /css_pixbufs/gnome-gimp.png
3244 u /css_pixbufs/gnome-gmush.png
4263 u /css_pixbufs/gnome-gsame.png
3852 u /css_pixbufs/gnu-keys.png
7065 u /css_pixbufs/gtk.css
1990 u /css_pixbufs/reset.css
908 u /css_shadows/cssview.css
1417 u /css_shadows/gtk.css
1990 u /css_shadows/reset.css
5895 u /gtk-logo-old.png
9240 u /iconview/gnome-fs-directory.png
10008 u /iconview/gnome-fs-regular.png
26529 u /images/alphatest.png
5216 u /images/floppybuddy.gif
5895 u /images/gtk-logo-old.png
3545 u /pixbufs/apple-red.png
22219 u /pixbufs/background.jpg
3090 u /pixbufs/gnome-applets.png
2755 u /pixbufs/gnome-calendar.png
2916 u /pixbufs/gnome-foot.png
3410 u /pixbufs/gnome-gimp.png
3244 u /pixbufs/gnome-gmush.png
4263 u /pixbufs/gnome-gsame.png
3852 u /pixbufs/gnu-keys.png
13775 u /sources/application.c
18797 u /sources/appwindow.c
6379 u /sources/assistant.c
1530 u /sources/builder.c
3890 u /sources/button_box.c
20687 u /sources/changedisplay.c
10254 u /sources/clipboard.c
3469 u /sources/colorsel.c
13528 u /sources/combobox.c
2454 u /sources/css_accordion.c
4078 u /sources/css_basics.c
5998 u /sources/css_multiplebgs.c
4357 u /sources/css_pixbufs.c
4767 u /sources/css_shadows.c
6295 u /sources/dialog.c
8538 u /sources/drawingarea.c
11306 u /sources/editable_cells.c
2010 u /sources/entry_buffer.c
2992 u /sources/entry_completion.c
1782 u /sources/expander.c
9070 u /sources/hypertext.c
8727 u /sources/iconview.c
4302 u /sources/iconview_edit.c
14096 u /sources/images.c
4338 u /sources/infobar.c
2912 u /sources/links.c
11097 u /sources/list_store.c
5592 u /sources/menus.c
19605 u /sources/offscreen_window.c
17846 u /sources/offscreen_window2.c
6761 u /sources/overlay.c
6488 u /sources/panes.c
3174 u /sources/pickers.c
6107 u /sources/pixbufs.c
5560 u /sources/printing.c
7269 u /sources/rotated_text.c
10025 u /sources/search_entry.c
5430 u /sources/sizegroup.c
3055 u /sources/spinner.c
15652 u /sources/stock_browser.c
5617 u /sources/textscroll.c
25457 u /sources/textview.c
1554 u /sources/theming_style_classes.c
27138 u /sources/toolpalette.c
6338 u /sources/transparent.c
17319 u /sources/tree_store.c
9157 u /sources/ui_manager.c
5216 u /textview/floppybuddy.gif
5895 u /textview/gtk-logo-old.png
14222 u /theming_style_classes/theming.ui
_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
https://mail.gnome.org/mailman/listinfo/gtk-list