[gtk+] immodule: Disable deprecations before including deprecated header
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] immodule: Disable deprecations before including deprecated header
- Date: Tue, 8 Nov 2011 20:23:01 +0000 (UTC)
commit f9c664c69bf079d804821fe15ea3253b508532b2
Author: Benjamin Otte <otte redhat com>
Date: Tue Nov 8 14:48:14 2011 +0100
immodule: Disable deprecations before including deprecated header
gtk/gtkimmodule.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkimmodule.c b/gtk/gtkimmodule.c
index fc90c22..cf1c4bb 100644
--- a/gtk/gtkimmodule.c
+++ b/gtk/gtkimmodule.c
@@ -38,6 +38,12 @@
#include "gtkprivate.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/gtkrc.h"
#define SIMPLE_ID "gtk-im-context-simple"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]