[cluttermm] Tests, Examples: Avoid use of our own deprecated API.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cluttermm] Tests, Examples: Avoid use of our own deprecated API.
- Date: Tue, 25 Mar 2014 10:40:10 +0000 (UTC)
commit 7741838255e89b549f329ef32a51a521addd13d3
Author: Murray Cumming <murrayc murrayc com>
Date: Tue Mar 25 10:33:41 2014 +0100
Tests, Examples: Avoid use of our own deprecated API.
examples/Makefile.am | 4 +++-
tests/Makefile.am | 4 +++-
2 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/examples/Makefile.am b/examples/Makefile.am
index 2c255b0..6d3f757 100644
--- a/examples/Makefile.am
+++ b/examples/Makefile.am
@@ -23,7 +23,9 @@ local_includes = -I$(top_builddir)/clutter $(if $(srcdir:.=),-I$(top_srcdir)/clu
local_libs = $(top_builddir)/clutter/cluttermm/libcluttermm-$(CLUTTERMM_API_VERSION).la
AM_CPPFLAGS = -I$(top_builddir) $(local_includes) $(CLUTTERMM_CFLAGS)
-AM_CXXFLAGS = $(CLUTTERMM_WXXFLAGS)
+AM_CXXFLAGS = $(CLUTTERMM_WXXFLAGS) \
+ -DGLIBMM_DISABLE_DEPRECATED -DGIOMM_DISABLE_DEPRECATED -DGTKMM_DISABLE_DEPRECATED
-DGDKMM_DISABLE_DEPRECATED \
+ -DCLUTTERMM_DISABLE_DEPRECATED
LDADD = $(CLUTTERMM_LIBS) $(local_libs)
actors_SOURCES = test-actors.cc
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 16928ff..aab884f 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -23,7 +23,9 @@ local_includes = -I$(top_builddir)/clutter $(if $(srcdir:.=),-I$(top_srcdir)/clu
local_libs = $(top_builddir)/clutter/cluttermm/libcluttermm-$(CLUTTERMM_API_VERSION).la
AM_CPPFLAGS = -I$(top_builddir) $(local_includes) $(CLUTTERMM_CFLAGS)
-AM_CXXFLAGS = $(CLUTTERMM_WXXFLAGS)
+AM_CXXFLAGS = $(CLUTTERMM_WXXFLAGS) \
+ -DGLIBMM_DISABLE_DEPRECATED -DGIOMM_DISABLE_DEPRECATED -DGTKMM_DISABLE_DEPRECATED
-DGDKMM_DISABLE_DEPRECATED \
+ -DCLUTTERMM_DISABLE_DEPRECATED
LDADD = $(CLUTTERMM_LIBS) $(local_libs)
test_alpha_creation_SOURCES = test-alpha-creation.cc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]