[vala/staging] gtk4: Fix GLib.Value parameter in ContentProvider.get_value()
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/staging] gtk4: Fix GLib.Value parameter in ContentProvider.get_value()
- Date: Thu, 7 Apr 2022 06:24:07 +0000 (UTC)
commit cfb768e8a0b4afb52a0bd73b0eda98fa4dd638b3
Author: m-shinder <mihail shinder ml>
Date: Wed Apr 6 17:53:52 2022 +0000
gtk4: Fix GLib.Value parameter in ContentProvider.get_value()
Value is `out caller-allocates` and it is also initialized by caller.
vapi/gtk4.vapi | 2 +-
vapi/metadata/Gdk-4.0.metadata | 2 ++
2 files changed, 3 insertions(+), 1 deletion(-)
---
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]