[vala] gtk+-3.0: Fix GtkWidget::*_event bindings
- From: Jürg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] gtk+-3.0: Fix GtkWidget::*_event bindings
- Date: Tue, 14 Jun 2011 11:40:08 +0000 (UTC)
commit f4b3124eb84b8def7c03e59b7f614410e7aaa488
Author: Jürg Billeter <j bitron ch>
Date: Tue Jun 14 13:39:05 2011 +0200
gtk+-3.0: Fix GtkWidget::*_event bindings
vapi/gtk+-3.0.vapi | 14 +++++++-------
vapi/packages/gtk+-3.0/gtk+-3.0.metadata | 12 +++++++++---
2 files changed, 16 insertions(+), 10 deletions(-)
---
diff --git a/vapi/gtk+-3.0.vapi b/vapi/gtk+-3.0.vapi
index 0c1458f..c715d7d 100644
--- a/vapi/gtk+-3.0.vapi
+++ b/vapi/gtk+-3.0.vapi
@@ -3817,7 +3817,7 @@ namespace Gtk {
public virtual signal bool button_release_event (Gdk.EventButton event);
public virtual signal void popup_menu (uint button, uint activate_time);
public virtual signal bool query_tooltip (int x, int y, bool keyboard_mode, Gtk.Tooltip tooltip);
- public virtual signal bool scroll_event (Gdk.Event event);
+ public virtual signal bool scroll_event (Gdk.EventScroll event);
public virtual signal bool size_changed (int size);
}
[CCode (cheader_filename = "gtk/gtk.h")]
@@ -5451,11 +5451,11 @@ namespace Gtk {
public virtual signal void child_notify (GLib.ParamSpec pspec);
public virtual signal void composited_changed ();
public virtual signal bool configure_event (Gdk.EventConfigure event);
- public virtual signal bool damage_event (Gdk.Event event);
- public virtual signal bool delete_event (Gdk.Event event);
+ public virtual signal bool damage_event (Gdk.EventExpose event);
+ public virtual signal bool delete_event (Gdk.EventAny event);
[HasEmitter]
public virtual signal void destroy ();
- public virtual signal bool destroy_event (Gdk.Event event);
+ public virtual signal bool destroy_event (Gdk.EventAny event);
public virtual signal void direction_changed (Gtk.TextDirection previous_direction);
public virtual signal void drag_begin (Gdk.DragContext context);
public virtual signal void drag_data_delete (Gdk.DragContext context);
@@ -5489,7 +5489,7 @@ namespace Gtk {
public virtual signal bool leave_notify_event (Gdk.EventCrossing event);
[HasEmitter]
public virtual signal void map ();
- public virtual signal bool map_event (Gdk.Event event);
+ public virtual signal bool map_event (Gdk.EventAny event);
[HasEmitter]
public virtual signal bool mnemonic_activate (bool group_cycling);
public virtual signal bool motion_notify_event (Gdk.EventMotion event);
@@ -5520,10 +5520,10 @@ namespace Gtk {
public virtual signal void style_updated ();
[HasEmitter]
public virtual signal void unmap ();
- public virtual signal bool unmap_event (Gdk.Event event);
+ public virtual signal bool unmap_event (Gdk.EventAny event);
[HasEmitter]
public virtual signal void unrealize ();
- public virtual signal bool visibility_notify_event (Gdk.Event event);
+ public virtual signal bool visibility_notify_event (Gdk.EventVisibility event);
public virtual signal bool window_state_event (Gdk.EventWindowState event);
}
[Compact]
diff --git a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
index 7d17abf..657d612 100644
--- a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
+++ b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
@@ -571,6 +571,7 @@ GtkStatusIcon::button_release_event.event namespace_name="Gdk" type_name="EventB
gtk_status_icon_get_geometry.area is_out="1"
gtk_status_icon_get_geometry.orientation is_out="1"
gtk_status_icon_position_menu hidden="1"
+GtkStatusIcon::scroll_event.event namespace_name="Gdk" type_name="EventScroll"
GTK_STOCK_* parent="Stock"
gtk_stock_add* parent="Stock"
gtk_stock_set_translate_func.func transfer_ownership="1"
@@ -992,10 +993,11 @@ GtkWidget::button_press_event.event namespace_name="Gdk" type_name="EventButton"
GtkWidget::button_release_event.event namespace_name="Gdk" type_name="EventButton"
GtkWidget::client_event.event namespace_name="Gdk" type_name="EventClient"
GtkWidget::configure_event.event namespace_name="Gdk" type_name="EventConfigure"
+GtkWidget::damage_event.event namespace_name="Gdk" type_name="EventExpose"
+GtkWidget::delete_event.event namespace_name="Gdk" type_name="EventAny"
+GtkWidget::destroy_event.event namespace_name="Gdk" type_name="EventAny"
GtkWidget::enter_notify_event.event namespace_name="Gdk" type_name="EventCrossing"
-GtkWidget::leave_notify_event.event namespace_name="Gdk" type_name="EventCrossing"
GtkWidget::expose_event.event namespace_name="Gdk" type_name="EventExpose"
-GtkWidget::no_expose_event.event namespace_name="Gdk" type_name="EventNoExpose"
GtkWidget::focus_in_event.event namespace_name="Gdk" type_name="EventFocus"
GtkWidget::focus_out_event.event namespace_name="Gdk" type_name="EventFocus"
GtkWidget::grab_broken_event.event namespace_name="Gdk" type_name="EventGrabBroken"
@@ -1004,7 +1006,10 @@ GtkWidget::has_default has_emitter="1"
GtkWidget::has_focus has_emitter="1"
GtkWidget::has_grab has_emitter="1"
GtkWidget::is_drawable has_emitter="1"
+GtkWidget::leave_notify_event.event namespace_name="Gdk" type_name="EventCrossing"
+GtkWidget::map_event.event namespace_name="Gdk" type_name="EventAny"
GtkWidget::motion_notify_event.event namespace_name="Gdk" type_name="EventMotion"
+GtkWidget::no_expose_event.event namespace_name="Gdk" type_name="EventNoExpose"
GtkWidget::focus_out_event.event namespace_name="Gdk" type_name="EventFocus"
GtkWidget::parent_set.previous_parent nullable="1"
GtkWidget::property_notify_event.event namespace_name="Gdk" type_name="EventProperty"
@@ -1014,7 +1019,8 @@ GtkWidget::scroll_event.event namespace_name="Gdk" type_name="EventScroll"
GtkWidget::selection_clear_event.event namespace_name="Gdk" type_name="EventSelection"
GtkWidget::selection_notify_event.event namespace_name="Gdk" type_name="EventSelection"
GtkWidget::selection_request_event.event namespace_name="Gdk" type_name="EventSelection"
-GtkWidget::visibility_event.event namespace_name="Gdk" type_name="EventVisibility"
+GtkWidget::unmap_event.event namespace_name="Gdk" type_name="EventAny"
+GtkWidget::visibility_notify_event.event namespace_name="Gdk" type_name="EventVisibility"
GtkWidget::window_state_event.event namespace_name="Gdk" type_name="EventWindowState"
*._g_sealed__* hidden="1"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]