[gtkmm] Fix the build with --enable-warnings=fatal, partly.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtkmm] Fix the build with --enable-warnings=fatal, partly.
- Date: Tue, 7 May 2013 20:20:43 +0000 (UTC)
commit ba0de9a629205bf2c0321a3241caa94a472ef82a
Author: Murray Cumming <murrayc murrayc com>
Date: Tue May 7 22:16:24 2013 +0200
Fix the build with --enable-warnings=fatal, partly.
* tools/extra_defs_gen/generate_defs_gtk.cc: Add a define of
GDK_DISABLE_DEPRECATION_WARNINGS, though I do not know why this is only
necessary now, using GTK+ from git master.
ChangeLog | 8 ++++++++
tools/extra_defs_gen/generate_defs_gtk.cc | 1 +
2 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index bd5e078..28ea456 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2013-05-07 Murray Cumming <murrayc murray com>
+
+ Fix the build with --enable-warnings=fatal, partly.
+
+ * tools/extra_defs_gen/generate_defs_gtk.cc: Add a define of
+ GDK_DISABLE_DEPRECATION_WARNINGS, though I do not know why this is only
+ necessary now, using GTK+ from git master.
+
2013-04-29 Kjell Ahlstedt <kjell ahlstedt bredband net>
Gtk::Widget: Don't call signal_hide handlers on a widget being deleted.
diff --git a/tools/extra_defs_gen/generate_defs_gtk.cc b/tools/extra_defs_gen/generate_defs_gtk.cc
index d078eb5..60eacfb 100644
--- a/tools/extra_defs_gen/generate_defs_gtk.cc
+++ b/tools/extra_defs_gen/generate_defs_gtk.cc
@@ -25,6 +25,7 @@
#undef GDK_PIXBUF_DISABLE_DEPRECATED
#undef GDK_DISABLE_DEPRECATED
#undef GTK_DISABLE_DEPRECATED
+#define GDK_DISABLE_DEPRECATION_WARNINGS 1
#include <glibmm_generate_extra_defs/generate_extra_defs.h>
#include <gdk-pixbuf/gdk-pixbuf.h>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]