Update VS property sheets
authorChun-wei Fan <fanchunwei@src.gnome.org>
Mon, 17 Oct 2011 06:17:53 +0000 (14:17 +0800)
committerChun-wei Fan <fanchunwei@src.gnome.org>
Mon, 17 Oct 2011 06:18:35 +0000 (14:18 +0800)
Stop using G_DISABLE_DEPRECATED as there are now warnings for usage of
deprecated APIs/items in GLib

build/win32/vs10/glib.props
build/win32/vs9/glib.vsprops

index c0563b7..f7b184a 100644 (file)
@@ -494,7 +494,7 @@ copy ..\..\..\gio\gschema.dtd $(CopyDir)\share\glib-$(ApiVersion)\schemas
   <ItemDefinitionGroup>
     <ClCompile>
       <AdditionalIncludeDirectories>..\..\..;..\..\..\glib;$(GlibEtcInstallRoot)\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
-      <PreprocessorDefinitions>HAVE_CONFIG_H;G_DISABLE_DEPRECATED;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+      <PreprocessorDefinitions>HAVE_CONFIG_H;%(PreprocessorDefinitions)</PreprocessorDefinitions>
       <ForcedIncludeFiles>msvc_recommended_pragmas.h;%(ForcedIncludeFiles)</ForcedIncludeFiles>
     </ClCompile>
     <Link>
index 91064d8..b15a003 100644 (file)
@@ -9,7 +9,7 @@
        <Tool\r
                Name="VCCLCompilerTool"\r
                AdditionalIncludeDirectories="..\..\..;..\..\..\glib;$(GlibEtcInstallRoot)\include"\r
-               PreprocessorDefinitions="HAVE_CONFIG_H;G_DISABLE_DEPRECATED"\r
+               PreprocessorDefinitions="HAVE_CONFIG_H"\r
                ForcedIncludeFiles="msvc_recommended_pragmas.h"\r
        />\r
        <Tool\r