]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gtk+-3.0: Fix ListBoxUpdateHeaderFunc while making "before" nullable
authorRico Tzschichholz <ricotz@ubuntu.com>
Sat, 31 Oct 2015 21:26:54 +0000 (22:26 +0100)
committerRico Tzschichholz <ricotz@ubuntu.com>
Sat, 31 Oct 2015 21:29:17 +0000 (22:29 +0100)
(cherry picked from commit 6463ee079a9aad4cd548a41c903e8e272a444370)

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

index 59e8d32c7470380a3a7745a2d4bb84e1de0f632b..912e450532ed8105fe8d16c31aee36f2c25df8e7 100644 (file)
@@ -8776,7 +8776,7 @@ namespace Gtk {
        [CCode (cheader_filename = "gtk/gtk.h")]
        public delegate int ListBoxSortFunc (Gtk.ListBoxRow row1, Gtk.ListBoxRow row2);
        [CCode (cheader_filename = "gtk/gtk.h")]
-       public delegate void ListBoxUpdateHeaderFunc (Gtk.ListBoxRow row, Gtk.ListBoxRow before);
+       public delegate void ListBoxUpdateHeaderFunc (Gtk.ListBoxRow row, Gtk.ListBoxRow? before);
        [CCode (cheader_filename = "gtk/gtk.h", has_target = false)]
        public delegate void MenuDetachFunc (Gtk.Widget attach_widget, Gtk.Menu menu);
        [CCode (cheader_filename = "gtk/gtk.h")]
index 09580f4c93721086a8228764adec3fd23039a8d2..af3767d3cc6528ababf0c0a247d3fb43e96caab9 100644 (file)
@@ -679,6 +679,7 @@ GtkListBox::row_selected.row nullable="1"
 GtkListBox::unselect_all has_emitter="1"
 GtkListBoxCreateWidgetFunc transfer_ownership="1"
 GtkListBoxCreateWidgetFunc.item type_name="GLib.Object"
+GtkListBoxUpdateHeaderFunc.before nullable="1"
 gtk_list_store_new ellipsis="1" sentinel="-1"
 gtk_list_store_newv.n_columns hidden="1"
 gtk_list_store_newv.types array_length_pos="0.9"