[cluttermm] Texture: Deprecate this, though we have not wrapped Image yet.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cluttermm] Texture: Deprecate this, though we have not wrapped Image yet.
- Date: Sat, 22 Mar 2014 19:48:54 +0000 (UTC)
commit 083e4908d25eb74eb2b1a879c8576cd338b292c3
Author: Murray Cumming <murrayc murrayc com>
Date: Sat Mar 22 20:48:30 2014 +0100
Texture: Deprecate this, though we have not wrapped Image yet.
clutter/src/texture.hg | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/clutter/src/texture.hg b/clutter/src/texture.hg
index 0afe74d..0c901b0 100644
--- a/clutter/src/texture.hg
+++ b/clutter/src/texture.hg
@@ -21,6 +21,9 @@
_DEFS(cluttermm,clutter)
_PINCLUDE(cluttermm/private/actor_p.h)
+#m4 _PUSH(SECTION_CC_PRE_INCLUDES)
+#define CLUTTER_DISABLE_DEPRECATION_WARNINGS 1
+#m4 _POP()
namespace Clutter
{
@@ -32,9 +35,13 @@ _WRAP_ENUM(TextureQuality, ClutterTextureQuality)
*/
_WRAP_GERROR(TextureError, ClutterTextureError, CLUTTER_TEXTURE_ERROR)
+/**
+ * @deprecated Use Image instead.
+ */
class Texture : public Actor
{
_CLASS_GOBJECT(Texture, ClutterTexture, CLUTTER_TEXTURE, Actor, ClutterActor)
+ _IS_DEPRECATED
protected:
_CTOR_DEFAULT()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]