[cluttermm] LayoutManager: Deprecate begin/end_animation and get_animation_progress().
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cluttermm] LayoutManager: Deprecate begin/end_animation and get_animation_progress().
- Date: Wed, 9 Apr 2014 12:39:39 +0000 (UTC)
commit 5f86ba56b2a7fc2d0211fb1938d1701e8c600bff
Author: Murray Cumming <murrayc murrayc com>
Date: Wed Apr 9 14:39:05 2014 +0200
LayoutManager: Deprecate begin/end_animation and get_animation_progress().
Though the C documentation does not mention what should replace them.
clutter/src/layout-manager.hg | 12 ++++++++----
1 files changed, 8 insertions(+), 4 deletions(-)
---
diff --git a/clutter/src/layout-manager.hg b/clutter/src/layout-manager.hg
index 980c145..afed846 100644
--- a/clutter/src/layout-manager.hg
+++ b/clutter/src/layout-manager.hg
@@ -21,6 +21,10 @@
_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
{
@@ -74,11 +78,11 @@ public:
_WRAP_METHOD(Glib::RefPtr<const LayoutMeta> create_child_meta(const Glib::RefPtr<Container>& container,
const Glib::RefPtr<Actor>& actor) const, clutter_layout_manager_create_child_meta, refreturn, constversion)
#m4 _CONVERSION(`Glib::RefPtr<Alpha>',`ClutterAlpha*',__CONVERT_REFPTR_TO_P)
- _WRAP_METHOD(Glib::RefPtr<Alpha> begin_animation(guint duration, gulong mode),
clutter_layout_manager_begin_animation, refreturn)
- _WRAP_METHOD(Glib::RefPtr<const Alpha> begin_animation(guint duration, gulong mode) const,
clutter_layout_manager_begin_animation, refreturn, constversion)
+ _WRAP_METHOD(Glib::RefPtr<Alpha> begin_animation(guint duration, gulong mode),
clutter_layout_manager_begin_animation, refreturn, deprecated)
+ _WRAP_METHOD(Glib::RefPtr<const Alpha> begin_animation(guint duration, gulong mode) const,
clutter_layout_manager_begin_animation, refreturn, constversion, deprecated)
- _WRAP_METHOD(double get_animation_progress(), clutter_layout_manager_get_animation_progress)
- _WRAP_METHOD(void end_animation(), clutter_layout_manager_end_animation)
+ _WRAP_METHOD(double get_animation_progress(), clutter_layout_manager_get_animation_progress, deprecated)
+ _WRAP_METHOD(void end_animation(), clutter_layout_manager_end_animation, deprecated)
_WRAP_VFUNC(void get_preferred_width(const Glib::RefPtr<Container>& container, float for_height, float&
min_width_p, float& natural_width_p) const, "get_preferred_width")
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]