[vala/0.38] gtk+-4.0: Only override type of "event" parameters
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/0.38] gtk+-4.0: Only override type of "event" parameters
- Date: Tue, 30 Jan 2018 07:25:15 +0000 (UTC)
commit 559d8ee3b6456d0056d9abd0f649e4c34442902d
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Tue Jan 23 10:29:29 2018 +0100
gtk+-4.0: Only override type of "event" parameters
vapi/gtk+-4.0.vapi | 4 ++--
vapi/metadata/Gtk-4.0.metadata | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/vapi/gtk+-4.0.vapi b/vapi/gtk+-4.0.vapi
index 5a0b2b5..8a145ab 100644
--- a/vapi/gtk+-4.0.vapi
+++ b/vapi/gtk+-4.0.vapi
@@ -7510,7 +7510,7 @@ namespace Gtk {
[Version (since = "3.0")]
public virtual Gtk.CellAreaContext create_context ();
[Version (since = "3.0")]
- public virtual Gdk.Event event (Gtk.CellAreaContext context, Gtk.Widget widget, [CCode (type
= "GdkEvent*")] Gdk.Event event, Gdk.Rectangle cell_area, Gtk.CellRendererState flags);
+ public virtual int event (Gtk.CellAreaContext context, Gtk.Widget widget, [CCode (type =
"GdkEvent*")] Gdk.Event event, Gdk.Rectangle cell_area, Gtk.CellRendererState flags);
[CCode (cname = "gtk_cell_area_class_find_cell_property")]
[Version (since = "3.0")]
public class unowned GLib.ParamSpec find_cell_property (string property_name);
@@ -14250,7 +14250,7 @@ namespace Gtk {
public virtual signal bool draw (Cairo.Context cr);
public virtual signal bool enter_notify_event (Gdk.Event event);
[HasEmitter]
- public virtual signal Gdk.Event event (Gdk.Event event);
+ public virtual signal bool event (Gdk.Event event);
public signal void event_after (Gdk.Event event);
public virtual signal bool focus (Gtk.DirectionType direction);
public virtual signal bool focus_in_event (Gdk.Event event);
diff --git a/vapi/metadata/Gtk-4.0.metadata b/vapi/metadata/Gtk-4.0.metadata
index 492c7be..915b4a9 100644
--- a/vapi/metadata/Gtk-4.0.metadata
+++ b/vapi/metadata/Gtk-4.0.metadata
@@ -2,8 +2,8 @@
// but may be some day.
////////////////////////////////////////////////////////////////////
-*.event type="Gdk.Event"
-*.*.event type="Gdk.Event"
+*.event#parameter type="Gdk.Event"
+*.*.event#parameter type="Gdk.Event"
// G-I doesn't support per-sybmol includes
* cheader_filename="gtk/gtk.h"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]