]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gtk+-3.0: make drag_begin event arg nullable
authorEvan Nemerson <evan@coeus-group.com>
Tue, 19 Feb 2013 06:47:54 +0000 (22:47 -0800)
committerEvan Nemerson <evan@coeus-group.com>
Tue, 19 Feb 2013 06:47:54 +0000 (22:47 -0800)
Fixes bug 691237.

vapi/gtk+-3.0.vapi
vapi/packages/gtk+-3.0/gtk+-3.0.metadata

index 7511dafe16e021406ad680b9cc50d03c964f03d0..f41f2be6112ef848cfa7d1b6795f21854d2e34b9 100644 (file)
@@ -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")]
index 83168d642ba5e239fefe15c6ea060b4e0120e33f..a16ca7af15fdd925c56c37af42cd11f320c1aa29 100644 (file)
@@ -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"