[clutter] Add deprecated header for ClutterStageManager
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [clutter] Add deprecated header for ClutterStageManager
- Date: Mon, 27 Feb 2012 15:58:00 +0000 (UTC)
commit 9613374c73984a76e8d7780105004dde2ac3448e
Author: Emmanuele Bassi <ebassi linux intel com>
Date: Mon Feb 27 15:16:38 2012 +0000
Add deprecated header for ClutterStageManager
clutter/Makefile.am | 1 +
clutter/clutter-deprecated.h | 1 +
clutter/clutter-stage-manager.h | 7 +----
clutter/deprecated/clutter-stage-manager.h | 42 ++++++++++++++++++++++++++++
4 files changed, 45 insertions(+), 6 deletions(-)
---
diff --git a/clutter/Makefile.am b/clutter/Makefile.am
index fd058e1..a47cbe3 100644
--- a/clutter/Makefile.am
+++ b/clutter/Makefile.am
@@ -250,6 +250,7 @@ deprecated_h = \
$(srcdir)/deprecated/clutter-rectangle.h \
$(srcdir)/deprecated/clutter-score.h \
$(srcdir)/deprecated/clutter-shader.h \
+ $(srcdir)/deprecated/clutter-stage-manager.h \
$(srcdir)/deprecated/clutter-stage.h \
$(srcdir)/deprecated/clutter-timeline.h \
$(srcdir)/deprecated/clutter-timeout-pool.h \
diff --git a/clutter/clutter-deprecated.h b/clutter/clutter-deprecated.h
index f580332..46cad8e 100644
--- a/clutter/clutter-deprecated.h
+++ b/clutter/clutter-deprecated.h
@@ -22,6 +22,7 @@
#include "deprecated/clutter-rectangle.h"
#include "deprecated/clutter-score.h"
#include "deprecated/clutter-shader.h"
+#include "deprecated/clutter-stage-manager.h"
#include "deprecated/clutter-stage.h"
#include "deprecated/clutter-timeline.h"
#include "deprecated/clutter-timeout-pool.h"
diff --git a/clutter/clutter-stage-manager.h b/clutter/clutter-stage-manager.h
index 4baf184..b9174b1 100644
--- a/clutter/clutter-stage-manager.h
+++ b/clutter/clutter-stage-manager.h
@@ -28,8 +28,7 @@
#ifndef __CLUTTER_STAGE_MANAGER_H__
#define __CLUTTER_STAGE_MANAGER_H__
-#include <glib-object.h>
-#include <clutter/clutter-stage.h>
+#include <clutter/clutter-types.h>
G_BEGIN_DECLS
@@ -77,10 +76,6 @@ ClutterStage * clutter_stage_manager_get_default_stage (ClutterStageManage
GSList * clutter_stage_manager_list_stages (ClutterStageManager *stage_manager);
const GSList * clutter_stage_manager_peek_stages (ClutterStageManager *stage_manager);
-CLUTTER_DEPRECATED
-void clutter_stage_manager_set_default_stage (ClutterStageManager *stage_manager,
- ClutterStage *stage);
-
G_END_DECLS
#endif /* __CLUTTER_STAGE_MANAGER_H__ */
diff --git a/clutter/deprecated/clutter-stage-manager.h b/clutter/deprecated/clutter-stage-manager.h
new file mode 100644
index 0000000..df19298
--- /dev/null
+++ b/clutter/deprecated/clutter-stage-manager.h
@@ -0,0 +1,42 @@
+/*
+ * Clutter.
+ *
+ * An OpenGL based 'interactive canvas' library.
+ *
+ * Copyright (C) 2008 OpenedHand
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library. If not, see <http://www.gnu.org/licenses/>.
+ *
+ * Author: Emmanuele Bassi <ebassi linux intel com>
+ */
+
+#if !defined(__CLUTTER_H_INSIDE__) && !defined(CLUTTER_COMPILATION)
+#error "Only <clutter/clutter.h> can be included directly."
+#endif
+
+#ifndef __CLUTTER_STAGE_MANAGER_DEPRECATED_H__
+#define __CLUTTER_STAGE_MANAGER_DEPRECATED_H__
+
+#include <clutter/clutter-stage-manager.h>
+
+G_BEGIN_DECLS
+
+CLUTTER_DEPRECATED_IN_1_2
+void clutter_stage_manager_set_default_stage (ClutterStageManager *stage_manager,
+ ClutterStage *stage);
+
+G_END_DECLS
+
+#endif /*__CLUTTER_STAGE_MANAGER_DEPRECATED_H__ */
+
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]