[vala/staging] gtk4: Resolve conflict of DropTarget.drop signal with property
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/staging] gtk4: Resolve conflict of DropTarget.drop signal with property
- Date: Fri, 17 Jul 2020 21:27:05 +0000 (UTC)
commit 0006f3460e731e51fb6eb6730a413d6013078e46
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Fri Jul 17 23:23:59 2020 +0200
gtk4: Resolve conflict of DropTarget.drop signal with property
Fixes https://gitlab.gnome.org/GNOME/vala/issues/1033
vapi/gtk4.vapi | 2 ++
vapi/metadata/Gtk-4.0.metadata | 2 ++
2 files changed, 4 insertions(+)
---
diff --git a/vapi/gtk4.vapi b/vapi/gtk4.vapi
index 8f6f884a2..7cf2a6e02 100644
--- a/vapi/gtk4.vapi
+++ b/vapi/gtk4.vapi
@@ -7711,6 +7711,8 @@ namespace Gtk {
public signal Gdk.DragAction enter (double x, double y);
public signal void leave ();
public signal Gdk.DragAction motion (double x, double y);
+ [CCode (cname = "drop")]
+ public signal bool on_drop (GLib.Value value, double x, double y);
}
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_drop_target_async_get_type ()")]
public class DropTargetAsync : Gtk.EventController {
diff --git a/vapi/metadata/Gtk-4.0.metadata b/vapi/metadata/Gtk-4.0.metadata
index ef5ea7c68..c092d8903 100644
--- a/vapi/metadata/Gtk-4.0.metadata
+++ b/vapi/metadata/Gtk-4.0.metadata
@@ -203,6 +203,8 @@ TreeSelection
// Symbol name conflicts
Constraint
.new_constant name="const"
+DropTarget
+ .drop#signal name="on_drop"
EntryCompletion
.insert_prefix#method name="request_prefix_insertion"
InfoBar
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]