]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gobject-2.0: Set bind_property() default flag
authorMarc-André Lureau <marcandre.lureau@gmail.com>
Thu, 24 May 2012 14:27:48 +0000 (16:27 +0200)
committerJürg Billeter <j@bitron.ch>
Thu, 2 Aug 2012 08:26:49 +0000 (10:26 +0200)
Use GLib.BindingFlags.DEFAULT by default.

Fixes bug 676745.

vapi/gobject-2.0.vapi

index 0979a3d44095cbfd0de6aa501c29cd579b863830..e4aae292ae37d732030c2dfd4b7dee9e1a429246 100644 (file)
@@ -376,7 +376,7 @@ namespace GLib {
                public void remove_toggle_ref (ToggleNotify notify);
 
                [CCode (cname = "g_object_bind_property_with_closures")]
-               public unowned GLib.Binding bind_property (string source_property, GLib.Object target, string target_property, GLib.BindingFlags flags, [CCode (type = "GClosure*")] owned GLib.BindingTransformFunc? transform_to = null, [CCode (type = "GClosure*")] owned GLib.BindingTransformFunc? transform_from = null);
+               public unowned GLib.Binding bind_property (string source_property, GLib.Object target, string target_property, GLib.BindingFlags flags = GLib.BindingFlags.DEFAULT, [CCode (type = "GClosure*")] owned GLib.BindingTransformFunc? transform_to = null, [CCode (type = "GClosure*")] owned GLib.BindingTransformFunc? transform_from = null);
        }
 
        [CCode (destroy_function = "g_weak_ref_clear")]