From: Luca Bruno Date: Wed, 1 Feb 2012 15:08:47 +0000 (+0100) Subject: clutter-1.0: Add Box.layout_manager to not break code using old clutter X-Git-Tag: 0.15.2~26 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8d23ee36ea41907e3e01e18e65b2be788105c11a;p=thirdparty%2Fvala.git clutter-1.0: Add Box.layout_manager to not break code using old clutter The Box.layout_manager property has been removed in commit 81cade2a and broke code using old clutter versions. --- diff --git a/vapi/clutter-1.0.vapi b/vapi/clutter-1.0.vapi index 10602bcc4..64fcb5a21 100644 --- a/vapi/clutter-1.0.vapi +++ b/vapi/clutter-1.0.vapi @@ -5322,6 +5322,7 @@ namespace Clutter { public Clutter.Color color { get; set; } [NoAccessorMethod] public bool color_set { get; set; } + public Clutter.LayoutManager layout_manager { get; set; } } [CCode (cheader_filename = "clutter/clutter.h", type_id = "clutter_box_layout_get_type ()")] public class BoxLayout : Clutter.LayoutManager { diff --git a/vapi/metadata/Clutter-1.0-custom.vala b/vapi/metadata/Clutter-1.0-custom.vala index 5a92cdc18..46aa85e14 100644 --- a/vapi/metadata/Clutter-1.0-custom.vala +++ b/vapi/metadata/Clutter-1.0-custom.vala @@ -30,6 +30,11 @@ namespace Clutter { public virtual void redraw (Clutter.Stage stage); } + [CCode (cheader_filename = "clutter/clutter.h", type_id = "clutter_box_get_type ()")] + public class Box : Clutter.Actor { + public Clutter.LayoutManager layout_manager { get; set; } + } + [CCode (type_id = "CLUTTER_TYPE_COLOR", cheader_filename = "clutter/clutter.h")] public struct Color { public static GLib.HashFunc hash;