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



commit 86b7281f4c979f623df148a08cb39b7ff19bb6cb
Author: Evan Nemerson <evan nemerson com>
Date:   Mon Apr 14 02:06:07 2014 -0700

    gtk+-3.0, gtk+-2.0: make TargetList constructor argument nullable
    
    Fixes bug 728126.

 vapi/gtk+-2.0.vapi                       |    2 +-
 vapi/gtk+-3.0.vapi                       |    2 +-
 vapi/packages/gtk+-2.0/gtk+-2.0.metadata |    2 +-
 vapi/packages/gtk+-3.0/gtk+-3.0.metadata |    2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/vapi/gtk+-2.0.vapi b/vapi/gtk+-2.0.vapi
index 3862879..8f0adb1 100644
--- a/vapi/gtk+-2.0.vapi
+++ b/vapi/gtk+-2.0.vapi
@@ -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);
diff --git a/vapi/gtk+-3.0.vapi b/vapi/gtk+-3.0.vapi
index fca9f92..35645a8 100644
--- a/vapi/gtk+-3.0.vapi
+++ b/vapi/gtk+-3.0.vapi
@@ -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);
diff --git a/vapi/packages/gtk+-2.0/gtk+-2.0.metadata b/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
index 364bc2e..fd4ceaa 100644
--- a/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
+++ b/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
@@ -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"
diff --git a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
index 551c7a3..b54b6ee 100644
--- a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
+++ b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
@@ -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"


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]