From: m-shinder Date: Wed, 6 Apr 2022 17:53:52 +0000 (+0000) Subject: gtk4: Fix GLib.Value parameter in ContentProvider.get_value() X-Git-Tag: 0.56.1~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cfb768e8a0b4afb52a0bd73b0eda98fa4dd638b3;p=thirdparty%2Fvala.git gtk4: Fix GLib.Value parameter in ContentProvider.get_value() Value is `out caller-allocates` and it is also initialized by caller. --- diff --git a/vapi/gtk4.vapi b/vapi/gtk4.vapi index a66245268..9a905e54f 100644 --- a/vapi/gtk4.vapi +++ b/vapi/gtk4.vapi @@ -4890,7 +4890,7 @@ namespace Gdk { public ContentProvider.for_bytes (string mime_type, GLib.Bytes bytes); [CCode (has_construct_function = false)] public ContentProvider.for_value (GLib.Value value); - public virtual bool get_value (out GLib.Value value) throws GLib.Error; + public virtual bool get_value (ref GLib.Value value) throws GLib.Error; public virtual Gdk.ContentFormats ref_formats (); public virtual Gdk.ContentFormats ref_storable_formats (); [CCode (has_construct_function = false)] diff --git a/vapi/metadata/Gdk-4.0.metadata b/vapi/metadata/Gdk-4.0.metadata index 40cb0fcbf..284cf3f84 100644 --- a/vapi/metadata/Gdk-4.0.metadata +++ b/vapi/metadata/Gdk-4.0.metadata @@ -8,6 +8,8 @@ events_*#function parent="Gdk.Event" name="events_(.+)" Clipboard .set* skip=false +ContentProvider + .get_value.value ref Cursor abstract=false Device .get_surface_at_position skip=false