[vala] gtk+-2.0, gtk+-3.0: Make ComboBox.set_active_iter parameter nullable



commit cd2f686a4a454afe9c5ccc72e0d429a226adc6ca
Author: Luca Bruno <lucabru src gnome org>
Date:   Fri Mar 14 22:48:01 2014 +0100

    gtk+-2.0, gtk+-3.0: Make ComboBox.set_active_iter parameter nullable
    
    Fixes bug 726141

 vapi/gtk+-2.0.vapi                       |    2 +-
 vapi/gtk+-3.0.vapi                       |    2 +-
 vapi/packages/gtk+-2.0/gtk+-2.0.metadata |    1 +
 vapi/packages/gtk+-3.0/gtk+-3.0.metadata |    1 +
 4 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/vapi/gtk+-2.0.vapi b/vapi/gtk+-2.0.vapi
index 3d02d8d..3862879 100644
--- a/vapi/gtk+-2.0.vapi
+++ b/vapi/gtk+-2.0.vapi
@@ -1287,7 +1287,7 @@ namespace Gtk {
                public void prepend_text (string text);
                public void remove_text (int position);
                public void set_active (int index_);
-               public void set_active_iter (Gtk.TreeIter iter);
+               public void set_active_iter (Gtk.TreeIter? iter);
                public void set_add_tearoffs (bool add_tearoffs);
                public void set_button_sensitivity (Gtk.SensitivityType sensitivity);
                public void set_column_span_column (int column_span);
diff --git a/vapi/gtk+-3.0.vapi b/vapi/gtk+-3.0.vapi
index d19d6e1..f919ba5 100644
--- a/vapi/gtk+-3.0.vapi
+++ b/vapi/gtk+-3.0.vapi
@@ -1528,7 +1528,7 @@ namespace Gtk {
                public void popup_for_device (Gdk.Device device);
                public void set_active (int index_);
                public bool set_active_id (string active_id);
-               public void set_active_iter (Gtk.TreeIter iter);
+               public void set_active_iter (Gtk.TreeIter? iter);
                public void set_add_tearoffs (bool add_tearoffs);
                public void set_button_sensitivity (Gtk.SensitivityType sensitivity);
                public void set_column_span_column (int column_span);
diff --git a/vapi/packages/gtk+-2.0/gtk+-2.0.metadata b/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
index a766241..364bc2e 100644
--- a/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
+++ b/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
@@ -150,6 +150,7 @@ gtk_color_selection_get_current_color.color is_out="1"
 gtk_color_selection_get_previous_color.color is_out="1"
 gtk_color_selection_dialog_get_color_selection type_name="Gtk.ColorSelection"
 gtk_combo_box_get_active_iter.iter is_out="1"
+gtk_combo_box_set_active_iter.iter nullable="1"
 gtk_combo_box_set_model.model nullable="1"
 gtk_combo_box_set_row_separator_func.func transfer_ownership="1"
 gtk_combo_box_set_row_separator_func.data 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 1aa5c25..bd16919 100644
--- a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
+++ b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
@@ -223,6 +223,7 @@ gtk_color_selection_get_previous_color.color is_out="1"
 gtk_color_selection_set_current_color deprecated_since="3.4" replacement="set_current_rgba"
 gtk_color_selection_dialog_get_color_selection type_name="Gtk.ColorSelection"
 gtk_combo_box_get_active_iter.iter is_out="1"
+gtk_combo_box_set_active_iter.iter nullable="1"
 gtk_combo_box_set_model.model nullable="1"
 gtk_combo_box_set_row_separator_func.func transfer_ownership="1"
 gtk_combo_box_set_row_separator_func.data hidden="1"


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