diff options
author | m-shinder <mihail@shinder.ml> | 2022-04-06 17:53:52 +0000 |
---|---|---|
committer | Rico Tzschichholz <ricotz@ubuntu.com> | 2022-04-07 08:21:04 +0200 |
commit | cfb768e8a0b4afb52a0bd73b0eda98fa4dd638b3 (patch) | |
tree | 9cf30600c3611c60c718ec71ade669045595172b /vapi | |
parent | f56bbc7a7faa47565defa5ccf1b4fe940f6ecc77 (diff) | |
download | vala-cfb768e8a0b4afb52a0bd73b0eda98fa4dd638b3.tar.gz |
gtk4: Fix GLib.Value parameter in ContentProvider.get_value()
Value is `out caller-allocates` and it is also initialized by caller.
Diffstat (limited to 'vapi')
-rw-r--r-- | vapi/gtk4.vapi | 2 | ||||
-rw-r--r-- | vapi/metadata/Gdk-4.0.metadata | 2 |
2 files changed, 3 insertions, 1 deletions
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 |