gtk/demos
Chun-wei Fan b1aa23f4bd Bug 695895: Fix gtk3-demo on Windows
In commit 4e41577b, we are using g_content_type_is_a() to determine how
to display the demo resources in the right pane of the gtk3-demo program.

Use g_content_type_get_mime_type(), so that we can obtain the mime
type of the demo resources on all platforms, as g_content_type_guess()
returns a platform-specific string, as
https://developer.gnome.org/gio/2.35/gio-GContentType.html states.

As .ui files and .css files are normally registered with a different mime
type string on Windows, check for those strings as well.

This will ensure the demo resources can be properly displayed on Windows
as well.
2013-03-26 16:59:16 +08:00
..
gtk-demo Bug 695895: Fix gtk3-demo on Windows 2013-03-26 16:59:16 +08:00
pixbuf-demo Convert pixbuf animation demo (both copies) to GdkFrameClock 2013-02-21 09:59:58 -05:00
widget-factory Add git.mk to more places 2013-01-24 17:47:34 -05:00
Makefile.am Move widget-factory to demos/ 2012-02-09 08:45:40 -05:00