]> Pileus Git - ~andy/gtk/commitdiff
VS2008 support: Process filechooser gsettings xml
authorChun-wei Fan <fanchunwei@src.gnome.org>
Mon, 25 Apr 2011 07:03:01 +0000 (15:03 +0800)
committerChun-wei Fan <fanchunwei@src.gnome.org>
Mon, 25 Apr 2011 07:05:02 +0000 (15:05 +0800)
This will copy the xml file and compile it so that the GTK+3 filechooser
can be used on Windows, especially the MSVC-compiled versions.

build/win32/vs9/gtk+.vsprops

index 60b5205e2e99fccb61ff64123dd0602793c9564e..94ea1b6424bd0308197fc0406b85088f79565221 100644 (file)
@@ -319,6 +319,11 @@ copy ..\..\..\gtk\gtkwindow.h $(OutDir)\include\gtk-$(GtkApiVersion)\gtk&#x0D;&#
 copy ..\..\..\gdk\gdkconfig.h $(OutDir)\include\gtk-3.0\gdk&#x0D;&#x0A;\r
 \r
 copy $(ConfigurationName)\$(PlatformName)\bin\*-$(GtkApiVersion).lib $(OutDir)\lib&#x0D;&#x0A;\r
+\r
+mkdir $(OutDir)\share\glib-2.0\schemas&#x0D;&#x0A;\r
+copy ..\..\..\gtk\org.gtk.Settings.FileChooser.gschema.xml $(OutDir)\share\glib-2.0\schemas&#x0D;&#x0A;\r
+echo &quot;Compiling gsettings XML File(s)...&quot;&#x0D;&#x0A;\r
+$(OutDir)\bin\glib-compile-schemas.exe $(OutDir)\share\glib-2.0\schemas&#x0D;&#x0A;\r
 "\r
        />\r
        <UserMacro\r