[gtk+] Don't warn about deprecations in deprecated/
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Don't warn about deprecations in deprecated/
- Date: Wed, 2 Nov 2011 05:23:12 +0000 (UTC)
commit 1f827d62149ca14e635894db0e857402740680ed
Author: Matthias Clasen <mclasen redhat com>
Date: Wed Nov 2 01:21:49 2011 -0400
Don't warn about deprecations in deprecated/
We know we are deprecated here, no need to warn.
gtk/deprecated/gtkfontsel.c | 2 ++
gtk/deprecated/gtkstyle.c | 3 +++
2 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/gtk/deprecated/gtkfontsel.c b/gtk/deprecated/gtkfontsel.c
index 10625fb..e2f7156 100644
--- a/gtk/deprecated/gtkfontsel.c
+++ b/gtk/deprecated/gtkfontsel.c
@@ -31,6 +31,8 @@
#include "config.h"
+#define GDK_DISABLE_DEPRECATION_WARNINGS
+
#include <stdlib.h>
#include <glib/gprintf.h>
#include <string.h>
diff --git a/gtk/deprecated/gtkstyle.c b/gtk/deprecated/gtkstyle.c
index dcb222a..2af01e7 100644
--- a/gtk/deprecated/gtkstyle.c
+++ b/gtk/deprecated/gtkstyle.c
@@ -25,6 +25,9 @@
*/
#include "config.h"
+
+#define GDK_DISABLE_DEPRECATION_WARNINGS
+
#include <math.h>
#include <stdlib.h>
#include <string.h>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]