[vala/0.10] mx-1.0: Make Padding a struct instead of a compact class



commit 7365445f526c322cb2f8051d28c5a1b45739e8f0
Author: Evan Nemerson <evan coeus-group com>
Date:   Sun Jan 23 15:07:13 2011 -0800

    mx-1.0: Make Padding a struct instead of a compact class

 vapi/mx-1.0.vapi                     |   15 +++++++--------
 vapi/packages/mx-1.0/mx-1.0.metadata |    1 +
 2 files changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/vapi/mx-1.0.vapi b/vapi/mx-1.0.vapi
index baf9752..a20d3f5 100644
--- a/vapi/mx-1.0.vapi
+++ b/vapi/mx-1.0.vapi
@@ -472,14 +472,6 @@ namespace Mx {
 		public Clutter.Actor child { get; set; }
 		public bool pick_child { get; set; }
 	}
-	[Compact]
-	[CCode (type_id = "MX_TYPE_PADDING", cheader_filename = "mx/mx.h")]
-	public class Padding {
-		public float bottom;
-		public float left;
-		public float right;
-		public float top;
-	}
 	[CCode (cheader_filename = "mx/mx.h")]
 	public class PathBar : Mx.Widget, Clutter.Scriptable, Mx.Stylable, Mx.Focusable {
 		[CCode (type = "ClutterActor*", has_construct_function = false)]
@@ -805,6 +797,13 @@ namespace Mx {
 		[HasEmitter]
 		public signal void style_changed (Mx.StyleChangedFlags flags);
 	}
+	[CCode (type_id = "MX_TYPE_PADDING", cheader_filename = "mx/mx.h")]
+	public struct Padding {
+		public float top;
+		public float right;
+		public float bottom;
+		public float left;
+	}
 	[CCode (cprefix = "MX_ALIGN_", cheader_filename = "mx/mx.h")]
 	public enum Align {
 		START,
diff --git a/vapi/packages/mx-1.0/mx-1.0.metadata b/vapi/packages/mx-1.0/mx-1.0.metadata
index dd3f80e..9b9ab18 100644
--- a/vapi/packages/mx-1.0/mx-1.0.metadata
+++ b/vapi/packages/mx-1.0/mx-1.0.metadata
@@ -8,6 +8,7 @@ mx_draggable_enable virtual="0"
 mx_droppable_accept_drop virtual="0"
 mx_droppable_disable virtual="0"
 mx_droppable_enable virtual="0"
+MxPadding is_value_type="1"
 MxStylable::style_changed has_emitter="1"
 mx_stylable_iface_install_property hidden="1"
 mx_stylable_notify name="emit_notify"



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]