[clutter] Move ClutterScore to the deprecated section
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [clutter] Move ClutterScore to the deprecated section
- Date: Tue, 11 Oct 2011 17:10:35 +0000 (UTC)
commit 4b33a9c5f4cdf26492d24b7e989ba8bba022edef
Author: Emmanuele Bassi <ebassi linux intel com>
Date: Tue Oct 4 11:07:03 2011 +0100
Move ClutterScore to the deprecated section
clutter/Makefile.am | 4 ++--
clutter/clutter-deprecated.h | 1 +
clutter/clutter.h | 7 ++++---
clutter/{ => deprecated}/clutter-score.c | 0
clutter/{ => deprecated}/clutter-score.h | 0
5 files changed, 7 insertions(+), 5 deletions(-)
---
diff --git a/clutter/Makefile.am b/clutter/Makefile.am
index 6fb1ec1..78eb3fb 100644
--- a/clutter/Makefile.am
+++ b/clutter/Makefile.am
@@ -111,7 +111,6 @@ source_h = \
$(srcdir)/clutter-path-constraint.h \
$(srcdir)/clutter-path.h \
$(srcdir)/clutter-rectangle.h \
- $(srcdir)/clutter-score.h \
$(srcdir)/clutter-script.h \
$(srcdir)/clutter-scriptable.h \
$(srcdir)/clutter-settings.h \
@@ -195,7 +194,6 @@ source_c = \
$(srcdir)/clutter-path-constraint.c \
$(srcdir)/clutter-path.c \
$(srcdir)/clutter-rectangle.c \
- $(srcdir)/clutter-score.c \
$(srcdir)/clutter-script.c \
$(srcdir)/clutter-script-parser.c \
$(srcdir)/clutter-scriptable.c \
@@ -254,12 +252,14 @@ source_c_priv = \
deprecated_h = \
$(srcdir)/deprecated/clutter-frame-source.h \
$(srcdir)/deprecated/clutter-timeout-pool.h \
+ $(srcdir)/deprecated/clutter-score.h \
$(NULL)
# deprecated source code
deprecated_c = \
$(srcdir)/deprecated/clutter-frame-source.c \
$(srcdir)/deprecated/clutter-timeout-pool.c \
+ $(srcdir)/deprecated/clutter-score.c \
$(NULL)
# deprecated private headers; these should not be installed
diff --git a/clutter/clutter-deprecated.h b/clutter/clutter-deprecated.h
index d64f83f..9606b6c 100644
--- a/clutter/clutter-deprecated.h
+++ b/clutter/clutter-deprecated.h
@@ -5,6 +5,7 @@
#include "deprecated/clutter-frame-source.h"
#include "deprecated/clutter-timeout-pool.h"
+#include "deprecated/clutter-score.h"
#undef __CLUTTER_DEPRECATED_H_INSIDE__
diff --git a/clutter/clutter.h b/clutter/clutter.h
index 88ce6e9..4e48010 100644
--- a/clutter/clutter.h
+++ b/clutter/clutter.h
@@ -28,8 +28,6 @@
#define __CLUTTER_H_INSIDE__
-#include "clutter-deprecated.h"
-
#include "clutter-config.h"
#include "clutter-action.h"
@@ -89,7 +87,6 @@
#include "clutter-path-constraint.h"
#include "clutter-path.h"
#include "clutter-rectangle.h"
-#include "clutter-score.h"
#include "clutter-scriptable.h"
#include "clutter-script.h"
#include "clutter-settings.h"
@@ -113,6 +110,10 @@
#include "clutter-enum-types.h"
+#ifndef CLUTTER_DISABLE_DEPRECATED
+#include "clutter-deprecated.h"
+#endif
+
#undef __CLUTTER_H_INSIDE__
#endif /* __CLUTTER_H__ */
diff --git a/clutter/clutter-score.c b/clutter/deprecated/clutter-score.c
similarity index 100%
rename from clutter/clutter-score.c
rename to clutter/deprecated/clutter-score.c
diff --git a/clutter/clutter-score.h b/clutter/deprecated/clutter-score.h
similarity index 100%
rename from clutter/clutter-score.h
rename to clutter/deprecated/clutter-score.h
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]