[cluttermm] Deprecate Clutter::Shader.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cluttermm] Deprecate Clutter::Shader.
- Date: Wed, 9 Apr 2014 17:58:30 +0000 (UTC)
commit 691bd428f1cb312b0755d50bbd3cd50a99016754
Author: Murray Cumming <murrayc murrayc com>
Date: Wed Apr 9 19:27:10 2014 +0200
Deprecate Clutter::Shader.
clutter/src/shader.hg | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/clutter/src/shader.hg b/clutter/src/shader.hg
index 7478c3e..c2f70ef 100644
--- a/clutter/src/shader.hg
+++ b/clutter/src/shader.hg
@@ -21,13 +21,20 @@
_DEFS(cluttermm,clutter)
_PINCLUDE(glibmm/private/object_p.h)
+#m4 _PUSH(SECTION_CC_PRE_INCLUDES)
+#define CLUTTER_DISABLE_DEPRECATION_WARNINGS 1
+#m4 _POP()
namespace Clutter
{
+/**
+ * @deprecated Use ShaderEffect instead.
+ */
class Shader : public Glib::Object
{
_CLASS_GOBJECT(Shader, ClutterShader, CLUTTER_SHADER, Glib::Object, GObject)
+ _IS_DEPRECATED
protected:
_CTOR_DEFAULT()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]