summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChun-wei Fan <fanchunwei@src.gnome.org>2011-10-17 14:17:53 +0800
committerChun-wei Fan <fanchunwei@src.gnome.org>2011-10-17 14:18:35 +0800
commiteb125665d8ad11c22457b4ec5062ede6594b8d89 (patch)
tree84d4e43107ed14ff82be00fab98816b3663637b4
parent0ec3c744c4f90d99b46658b39cab36a530904ab8 (diff)
Update VS property sheets
Stop using G_DISABLE_DEPRECATED as there are now warnings for usage of deprecated APIs/items in GLib
-rw-r--r--build/win32/vs10/glib.props2
-rw-r--r--build/win32/vs9/glib.vsprops2
2 files changed, 2 insertions, 2 deletions
diff --git a/build/win32/vs10/glib.props b/build/win32/vs10/glib.props
index c0563b718..f7b184ad9 100644
--- a/build/win32/vs10/glib.props
+++ b/build/win32/vs10/glib.props
@@ -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>
diff --git a/build/win32/vs9/glib.vsprops b/build/win32/vs9/glib.vsprops
index 91064d847..b15a00355 100644
--- a/build/win32/vs9/glib.vsprops
+++ b/build/win32/vs9/glib.vsprops
@@ -9,7 +9,7 @@
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories="..\..\..;..\..\..\glib;$(GlibEtcInstallRoot)\include"
- PreprocessorDefinitions="HAVE_CONFIG_H;G_DISABLE_DEPRECATED"
+ PreprocessorDefinitions="HAVE_CONFIG_H"
ForcedIncludeFiles="msvc_recommended_pragmas.h"
/>
<Tool