[vala] gtk+-3.0: make drag_begin event arg nullable
- From: Evan Nemerson <evann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] gtk+-3.0: make drag_begin event arg nullable
- Date: Tue, 19 Feb 2013 06:49:24 +0000 (UTC)
commit 83f929fe4e005adad21874d6156dbfba7b122aaf
Author: Evan Nemerson <evan coeus-group com>
Date: Mon Feb 18 22:47:54 2013 -0800
gtk+-3.0: make drag_begin event arg nullable
Fixes bug 691237.
vapi/gtk+-3.0.vapi | 2 +-
vapi/packages/gtk+-3.0/gtk+-3.0.metadata | 1 +
2 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/vapi/gtk+-3.0.vapi b/vapi/gtk+-3.0.vapi
index 7511daf..f41f2be 100644
--- a/vapi/gtk+-3.0.vapi
+++ b/vapi/gtk+-3.0.vapi
@@ -8344,7 +8344,7 @@ namespace Gtk {
[CCode (cheader_filename = "gtk/gtk.h")]
public static int distribute_natural_allocation (int extra_space, uint n_requested_sizes,
Gtk.RequestedSize sizes);
[CCode (cheader_filename = "gtk/gtk.h")]
- public static unowned Gdk.DragContext drag_begin (Gtk.Widget widget, Gtk.TargetList targets,
Gdk.DragAction actions, int button, Gdk.Event event);
+ public static unowned Gdk.DragContext drag_begin (Gtk.Widget widget, Gtk.TargetList targets,
Gdk.DragAction actions, int button, Gdk.Event? event);
[CCode (cheader_filename = "gtk/gtk.h")]
public static bool drag_check_threshold (Gtk.Widget widget, int start_x, int start_y, int current_x,
int current_y);
[CCode (cheader_filename = "gtk/gtk.h")]
diff --git a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
index 83168d6..a16ca7a 100644
--- a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
+++ b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
@@ -239,6 +239,7 @@ gtk_dialog_new_with_buttons.title nullable="1"
gtk_dialog_new_with_buttons.parent nullable="1"
gtk_dialog_set_alternative_button_order sentinel="-1"
gtk_draw_insertion_cursor deprecated_since="3.4" replacement="render_insertion_cursor"
+gtk_drag_begin.event nullable="1"
GtkDialog::response has_emitter="1"
GtkDialog.vbox type_name="VBox"
GtkDialog.action_area type_name="HButtonBox"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]