[vte/vte-next] Don't warn on deprecated GCache



commit 4216857d4b7ad74e5936db2d4bee9b9ab90bd857
Author: Christian Persch <chpe gnome org>
Date:   Sun Oct 30 22:16:07 2011 +0100

    Don't warn on deprecated GCache

 src/matcher.c |    4 ++++
 src/vtetc.c   |    6 ++++++
 2 files changed, 10 insertions(+), 0 deletions(-)
---
diff --git a/src/matcher.c b/src/matcher.c
index 3f2c1e9..983b276 100644
--- a/src/matcher.c
+++ b/src/matcher.c
@@ -18,6 +18,10 @@
 
 
 #include <config.h>
+
+/* GCache is deprecated */
+#define GLIB_DISABLE_DEPRECATION_WARNINGS
+
 #include <sys/types.h>
 #include <string.h>
 #include <glib-object.h>
diff --git a/src/vtetc.c b/src/vtetc.c
index 5613e7d..15ede1e 100644
--- a/src/vtetc.c
+++ b/src/vtetc.c
@@ -17,6 +17,12 @@
  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
 
+
+#include "config.h"
+
+/* GCache is deprecated */
+#define GLIB_DISABLE_DEPRECATION_WARNINGS
+
 #include <string.h>
 #include <stdlib.h>
 #include <glib.h>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]