From 8d23ee36ea41907e3e01e18e65b2be788105c11a Mon Sep 17 00:00:00 2001 From: Luca Bruno Date: Wed, 1 Feb 2012 16:08:47 +0100 Subject: [PATCH] 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. --- vapi/clutter-1.0.vapi | 1 + vapi/metadata/Clutter-1.0-custom.vala | 5 +++++ 2 files changed, 6 insertions(+) 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; -- 2.47.2