Commit 86b7281f authored by Evan Nemerson's avatar Evan Nemerson

gtk+-3.0, gtk+-2.0: make TargetList constructor argument nullable

Fixes bug 728126.
parent 56199d29
......@@ -4364,7 +4364,7 @@ namespace Gtk {
public void add (Gdk.Atom target, uint flags, uint info);
public void add_image_targets (uint info, bool writable);
public void add_rich_text_targets (uint info, bool deserializable, Gtk.TextBuffer buffer);
public void add_table (Gtk.TargetEntry[] targets);
public void add_table (Gtk.TargetEntry[]? targets);
public void add_text_targets (uint info);
public void add_uri_targets (uint info);
public bool find (Gdk.Atom target, uint info);
......
......@@ -5004,7 +5004,7 @@ namespace Gtk {
[Compact]
public class TargetList {
[CCode (has_construct_function = false)]
public TargetList (Gtk.TargetEntry[] targets);
public TargetList (Gtk.TargetEntry[]? targets);
public void add (Gdk.Atom target, uint flags, uint info);
public void add_image_targets (uint info, bool writable);
public void add_rich_text_targets (uint info, bool deserializable, Gtk.TextBuffer buffer);
......
......@@ -609,7 +609,7 @@ GtkTable.children type_arguments="TableChild"
GtkTable:row-spacing accessor_method="0"
GtkTargetEntry is_value_type="1"
GtkTargetList.list type_arguments="TargetPair"
gtk_target_list_add_table.targets is_array="1"
gtk_target_list_add_table.targets is_array="1" nullable="1"
gtk_target_list_add_table.ntargets hidden="1"
gtk_target_list_new.targets is_array="1"
gtk_target_list_new.ntargets hidden="1"
......
......@@ -821,7 +821,7 @@ GtkTargetEntry is_value_type="1"
GtkTargetList.list type_arguments="TargetPair"
gtk_target_list_add_table.targets is_array="1"
gtk_target_list_add_table.ntargets hidden="1"
gtk_target_list_new.targets is_array="1"
gtk_target_list_new.targets is_array="1" nullable="1"
gtk_target_list_new.ntargets hidden="1"
gtk_target_table_new_from_list is_array="1" transfer_ownership="1"
gtk_target_table_new_from_list.n_targets 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