[gtk+] cellrendererspinner: Ignore deprecation warnings
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] cellrendererspinner: Ignore deprecation warnings
- Date: Tue, 8 Nov 2011 20:22:21 +0000 (UTC)
commit 7cfe9051ccb30f3aadc496e100e3db0de3c9a739
Author: Benjamin Otte <otte redhat com>
Date: Tue Nov 8 05:01:32 2011 +0100
cellrendererspinner: Ignore deprecation warnings
The cell renderer relies on deprecated functionality, so we need to
disable deprecations for included deprecated headers.
gtk/gtkcellrendererspinner.c | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkcellrendererspinner.c b/gtk/gtkcellrendererspinner.c
index 2ca0cee..51895fe 100644
--- a/gtk/gtkcellrendererspinner.c
+++ b/gtk/gtkcellrendererspinner.c
@@ -34,6 +34,13 @@
#include "gtkicontheme.h"
#include "gtktypebuiltins.h"
#include "gtkintl.h"
+
+#undef GDK_DEPRECATED
+#undef GDK_DEPRECATED_FOR
+#define GDK_DEPRECATED
+#define GDK_DEPRECATED_FOR(f)
+#undef GTK_DISABLE_DEPRECATED
+
#include "deprecated/gtkstyle.h"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]