]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gtk+-3.0: Fix model argument type for ListBox.bind_model()
authorRico Tzschichholz <ricotz@ubuntu.com>
Mon, 16 Feb 2015 19:51:01 +0000 (20:51 +0100)
committerRico Tzschichholz <ricotz@ubuntu.com>
Mon, 16 Feb 2015 19:51:01 +0000 (20:51 +0100)
vapi/gtk+-3.0.vapi
vapi/packages/gtk+-3.0/gtk+-3.0.metadata

index cb855b74b51292b3f245a27e6ebcea0b3159e5b2..62fd4a7f02128e365ace983becaa9d17b7c9fafc 100644 (file)
@@ -3130,7 +3130,7 @@ namespace Gtk {
        public class ListBox : Gtk.Container, Atk.Implementor, Gtk.Buildable {
                [CCode (has_construct_function = false, type = "GtkWidget*")]
                public ListBox ();
-               public void bind_model (GLib.List? model, owned Gtk.ListBoxCreateWidgetFunc create_widget_func);
+               public void bind_model (GLib.ListModel? model, owned Gtk.ListBoxCreateWidgetFunc create_widget_func);
                public void drag_highlight_row (Gtk.ListBoxRow row);
                public void drag_unhighlight_row ();
                public bool get_activate_on_single_click ();
index 7599e61426dc7f25e3ca4e568d2df198212e3ad7..bf4b3a26a324655cc2c7605f2a3df3d28a862bbd 100644 (file)
@@ -588,7 +588,7 @@ gtk_layout_get_size.height is_out="1"
 gtk_layout_new.hadjustment nullable="1" default_value="null"
 gtk_layout_new.vadjustment nullable="1" default_value="null"
 gtk_list_box_bind_model.create_widget_func transfer_ownership="1"
-gtk_list_box_bind_model.model nullable="1"
+gtk_list_box_bind_model.model type_name="GLib.ListModel" nullable="1"
 gtk_list_box_bind_model.user_data_free_func hidden="1"
 gtk_list_box_get_selected_rows transfer_ownership="1" type_arguments="unowned ListBoxRow"
 gtk_list_box_selected_foreach.data hidden="1"