[libchamplain/libchamplain-0-12] Disable clutter depreciation warnings for now



commit 8d8cdc9380c92a1316d67569bbac5b9bfd269527
Author: JiÅÃ Techet <techet gmail com>
Date:   Mon Aug 13 15:26:41 2012 +0200

    Disable clutter depreciation warnings for now
    
    TODO: Once libchamplain's dependency is updated to newer clutter
    version, update libchamplain sources and remove the macros.

 champlain/Makefile.am |    1 +
 demos/Makefile.am     |    2 +-
 2 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/champlain/Makefile.am b/champlain/Makefile.am
index f145e9f..62f114c 100644
--- a/champlain/Makefile.am
+++ b/champlain/Makefile.am
@@ -145,6 +145,7 @@ AM_CPPFLAGS = 				\
 	-DDATADIR=\""$(datadir)"\"	\
 	-I$(top_srcdir)			\
 	-DCHAMPLAIN_COMPILATION 	\
+	-DCLUTTER_DISABLE_DEPRECATION_WARNINGS 	\
 	$(WARN_CFLAGS)
 
 
diff --git a/demos/Makefile.am b/demos/Makefile.am
index 0126324..8226778 100644
--- a/demos/Makefile.am
+++ b/demos/Makefile.am
@@ -4,7 +4,7 @@ SUBDIRS = icons
 
 INCLUDES = -I$(top_srcdir)
 
-AM_CPPFLAGS = $(DEPS_CFLAGS) $(WARN_CFLAGS)
+AM_CPPFLAGS = $(DEPS_CFLAGS) $(WARN_CFLAGS) -DCLUTTER_DISABLE_DEPRECATION_WARNINGS
 AM_LDFLAGS = $(DEPS_LIBS)
 
 minimal_SOURCES = minimal.c



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