[gtkmm] Color: Fix the build with --enable-warnings=fatal.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtkmm] Color: Fix the build with --enable-warnings=fatal.
- Date: Fri, 30 May 2014 10:15:29 +0000 (UTC)
commit c8249bf23e4abfac9ad5decfe2aae40e1cbf707c
Author: Murray Cumming <murrayc murrayc com>
Date: Fri May 30 08:55:08 2014 +0200
Color: Fix the build with --enable-warnings=fatal.
* gdk/src/color.hg: Disable GTK+ deprecation warnings for the .cc file
so we can still build our (also deprecated) implementation.
gdk/src/color.hg | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/gdk/src/color.hg b/gdk/src/color.hg
index b1895e1..75b074f 100644
--- a/gdk/src/color.hg
+++ b/gdk/src/color.hg
@@ -24,6 +24,11 @@ _CONFIGINCLUDE(gdkmmconfig.h)
_DEFS(gdkmm,gdk)
+#m4 _PUSH(SECTION_CC_PRE_INCLUDES)
+#undef GDK_DISABLE_DEPRECATED
+#define GDK_DISABLE_DEPRECATION_WARNINGS 1
+#m4 _POP()
+
namespace Gdk
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]