Commit c040b250 authored by Allison Karlitskaya's avatar Allison Karlitskaya

gtk+-3.0: fix flowbox selection foreach API

The callback doesn't have a destroy notify, so don't mark it 'owned'.
Additionally, it's not OK to pass a NULL callback to a foreach function.

https://bugzilla.gnome.org/show_bug.cgi?id=728474
parent 86b7281f
......@@ -2130,7 +2130,7 @@ namespace Gtk {
public void invalidate_filter ();
public void invalidate_sort ();
public void select_child (Gtk.FlowBoxChild child);
public void selected_foreach (owned Gtk.FlowBoxForeachFunc? func);
public void selected_foreach (Gtk.FlowBoxForeachFunc func);
public void set_activate_on_single_click (bool single);
public void set_column_spacing (uint spacing);
public void set_filter_func (owned Gtk.FlowBoxFilterFunc? filter_func);
......
......@@ -318,7 +318,6 @@ gtk_file_chooser_list_shortcut_folder_uris nullable="1" transfer_ownership="1" t
gtk_file_chooser_list_shortcut_folders nullable="1" transfer_ownership="1" type_arguments="string"
GtkFixed.children type_arguments="Widget"
gtk_flow_box_get_selected_children transfer_ownership="1" type_arguments="unowned FlowBoxChild"
gtk_flow_box_selected_foreach.func transfer_ownership="1" nullable="1"
gtk_flow_box_selected_foreach.data hidden="1"
gtk_flow_box_set_filter_func.filter_func transfer_ownership="1" nullable="1"
gtk_flow_box_set_filter_func.destroy hidden="1"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment