extend GValue, fix g_object_connect
authorJuerg Billeter <j@bitron.ch>
Wed, 21 Nov 2007 18:54:19 +0000 (18:54 +0000)
committerJürg Billeter <juergbi@src.gnome.org>
Wed, 21 Nov 2007 18:54:19 +0000 (18:54 +0000)
2007-11-21  Juerg Billeter  <j@bitron.ch>

* vapi/glib-2.0.vapi: extend GValue, fix g_object_connect

svn path=/trunk/; revision=692

ChangeLog
vapi/glib-2.0.vapi

index 68e2dce..bf74071 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2007-11-21  Jürg Billeter  <j@bitron.ch>
+
+       * vapi/glib-2.0.vapi: extend GValue, fix g_object_connect
+
 2007-11-20  Jürg Billeter  <j@bitron.ch>
 
        * vapi/packages/gio-2.0/gio-2.0.metadata: add missing cheader_filename
index 1b0b652..ff848b2 100644 (file)
@@ -698,7 +698,7 @@ namespace GLib {
                [HasEmitter]
                public signal void notify(string! property_name);
 
-               public Object connect(string! signal_spec, ...);
+               public weak Object connect (string! signal_spec, ...);
        }
 
        public struct Parameter {
@@ -715,6 +715,13 @@ namespace GLib {
 
        [CCode (free_function = "g_free", type_id = "G_TYPE_VALUE")]
        public class Value {
+               [CCode (cname = "G_VALUE_HOLDS")]
+               public bool holds (Type type);
+               [CCode (cname = "G_VALUE_TYPE")]
+               public Type type ();
+               [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 weak Value reset ();