[vala/staging] clutter-1.0: Add Box.layout_manager to not break code using old clutter
- From: Luca Bruno <lucabru src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/staging] clutter-1.0: Add Box.layout_manager to not break code using old clutter
- Date: Wed, 1 Feb 2012 15:12:15 +0000 (UTC)
commit 8d23ee36ea41907e3e01e18e65b2be788105c11a
Author: Luca Bruno <lucabru src gnome org>
Date: Wed Feb 1 16:08:47 2012 +0100
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(+), 0 deletions(-)
---
diff --git a/vapi/clutter-1.0.vapi b/vapi/clutter-1.0.vapi
index 10602bc..64fcb5a 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 5a92cdc..46aa85e 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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]