[cluttermm] Deprecates the BoxLayout::pack() method (use Actor methods instead)
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cluttermm] Deprecates the BoxLayout::pack() method (use Actor methods instead)
- Date: Sat, 20 Aug 2016 22:31:10 +0000 (UTC)
commit 3ad347d3211fb46c8e183abfe72d9e9251f07f99
Author: Ian Martin <martin_id vodafone co nz>
Date: Thu Apr 17 11:55:34 2014 +1200
Deprecates the BoxLayout::pack() method (use Actor methods instead)
clutter/src/box-layout.hg | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/clutter/src/box-layout.hg b/clutter/src/box-layout.hg
index 20e4ada..5374772 100644
--- a/clutter/src/box-layout.hg
+++ b/clutter/src/box-layout.hg
@@ -27,7 +27,7 @@ _PINCLUDE(cluttermm/private/layout-manager_p.h)
namespace Clutter
{
-_WRAP_ENUM(BoxAlignment, ClutterBoxAlignment)
+ _WRAP_ENUM(BoxAlignment, ClutterBoxAlignment)
class BoxLayout :
public LayoutManager
@@ -52,7 +52,7 @@ public:
_WRAP_METHOD(void set_homogeneous(bool homogeneous), clutter_box_layout_set_homogeneous)
_WRAP_METHOD(bool get_homogeneous() const, clutter_box_layout_get_homogeneous)
- _WRAP_METHOD(void pack(const Glib::RefPtr<Actor>&, bool expand, bool x_fill, bool y_fill, BoxAlignment
x_align, BoxAlignment y_align), clutter_box_layout_pack)
+ _WRAP_METHOD(void pack(const Glib::RefPtr<Actor>&, bool expand, bool x_fill, bool y_fill, BoxAlignment
x_align, BoxAlignment y_align), clutter_box_layout_pack, deprecated "Use Actor methods to set alignment and
expand.")
_WRAP_METHOD(void set_alignment(const Glib::RefPtr<Actor>& child, BoxAlignment x_align, BoxAlignment
y_align), clutter_box_layout_set_alignment, deprecated "Use Actor's x-align and y-align properties instead.")
_WRAP_METHOD(void get_alignment(const Glib::RefPtr<Actor>& child, BoxAlignment &x_align, BoxAlignment
&y_align) const, clutter_box_layout_get_alignment, deprecated "Use Actor's x-align and y-align properties
instead.")
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]