[cluttermm] wrap_init: Avoid deprecation warnings.



commit 0183c8a26aa5ee8319dfcf38e6ce9b00f34eea3d
Author: Murray Cumming <murrayc murrayc com>
Date:   Fri Apr 4 09:02:15 2014 +0200

    wrap_init: Avoid deprecation warnings.

 clutter/cluttermm/wrap_init.h |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/clutter/cluttermm/wrap_init.h b/clutter/cluttermm/wrap_init.h
index 0b4f3a6..fa394e4 100644
--- a/clutter/cluttermm/wrap_init.h
+++ b/clutter/cluttermm/wrap_init.h
@@ -3,7 +3,7 @@
 
 /* wrap_init.h
  *
- * Copyright (C) 2002-2003 The cluttermm Development Team
+ * Copyright (C) 2002-2014 The cluttermm Development Team
  *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
@@ -25,6 +25,10 @@
 namespace Clutter
 {
 
+// TODO: This is needed in wrap_init.cc, but to get it there in a better way than
+// putting it here requires a change in generate_wrap_init.pl.
+#define CLUTTER_DISABLE_DEPRECATION_WARNINGS 1
+
 void wrap_init();
 
 } //namespace Clutter


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