]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
fix GValue binding
authorJuerg Billeter <j@bitron.ch>
Sun, 27 Jan 2008 16:13:19 +0000 (16:13 +0000)
committerJürg Billeter <juergbi@src.gnome.org>
Sun, 27 Jan 2008 16:13:19 +0000 (16:13 +0000)
2008-01-27  Juerg Billeter  <j@bitron.ch>

* vapi/glib-2.0.vapi: fix GValue binding

svn path=/trunk/; revision=915

ChangeLog
vapi/glib-2.0.vapi

index 690b1d38ec43afb6bf453585a9dceba0465dfb46..4843d219993cbb476fa001dc0243f53e8ffe162c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2008-01-27  Jürg Billeter  <j@bitron.ch>
+
+       * vapi/glib-2.0.vapi: fix GValue binding
+
 2008-01-27  Jürg Billeter  <j@bitron.ch>
 
        * vapi/glib-2.0.vapi: bind message output functions
index c00a1d659554ce11f3b2de7b11c4419cb71fbb69..f0c01e66367796c17d27022388b787b6af377541 100644 (file)
@@ -758,8 +758,8 @@ namespace GLib {
        public abstract class Boxed {
        }
 
-       [CCode (free_function = "g_free", type_id = "G_TYPE_VALUE")]
-       public class Value {
+       [CCode (type_id = "G_TYPE_VALUE")]
+       public struct Value {
                [CCode (cname = "G_VALUE_HOLDS")]
                public bool holds (Type type);
                [CCode (cname = "G_VALUE_TYPE")]
@@ -767,8 +767,8 @@ namespace GLib {
                [CCode (cname = "G_VALUE_TYPE_NAME")]
                public weak string type_name ();
 
-               public weak Value init (Type g_type);
-               public void copy (Value dest_value);
+               public Value (Type g_type);
+               public void copy (out Value dest_value);
                public weak Value reset ();
                public void unset ();
                public void set_instance (pointer instance);