[vala/0.16] gtk+-2.0, gtk+-3.0: make TextTag constructor's parameter nullable



commit b34dcae1152d2aba8a0e43229f4b2c3d7a8ac0ea
Author: Evan Nemerson <evan coeus-group com>
Date:   Sun May 6 13:33:08 2012 -0700

    gtk+-2.0, gtk+-3.0: make TextTag constructor's parameter nullable

 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 129ec2f..205c192 100644
--- a/vapi/gtk+-2.0.vapi
+++ b/vapi/gtk+-2.0.vapi
@@ -4475,7 +4475,7 @@ namespace Gtk {
 		public weak Gtk.TextTagTable table;
 		public weak Gtk.TextAttributes values;
 		[CCode (has_construct_function = false)]
-		public TextTag (string name);
+		public TextTag (string? name = null);
 		public int get_priority ();
 		public void set_priority (int priority);
 		[NoAccessorMethod]
diff --git a/vapi/gtk+-3.0.vapi b/vapi/gtk+-3.0.vapi
index e03fdb2..fd274bb 100644
--- a/vapi/gtk+-3.0.vapi
+++ b/vapi/gtk+-3.0.vapi
@@ -4454,7 +4454,7 @@ namespace Gtk {
 	[CCode (cheader_filename = "gtk/gtk.h")]
 	public class TextTag : GLib.Object {
 		[CCode (has_construct_function = false)]
-		public TextTag (string name);
+		public TextTag (string? name = null);
 		public int get_priority ();
 		public void set_priority (int priority);
 		[NoAccessorMethod]
diff --git a/vapi/packages/gtk+-2.0/gtk+-2.0.metadata b/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
index c1a0bee..8a014a1 100644
--- a/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
+++ b/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
@@ -600,6 +600,7 @@ gtk_text_buffer_get_serialize_formats is_array="1" transfer_ownership="1"
 gtk_text_buffer_get_serialize_formats.n_formats hidden="1"
 gtk_text_buffer_set_text.len default_value="-1"
 gtk_text_child_anchor_get_widgets transfer_ownership="1" type_arguments="unowned Widget"
+gtk_text_tag_new.name nullable="1" default_value="null"
 gtk_text_tag_table_foreach.data hidden="1"
 GtkTextBuffer::apply_tag has_emitter="1"
 GtkTextBuffer::begin_user_action has_emitter="1"
diff --git a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
index 0deb529..bdcfd91 100644
--- a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
+++ b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
@@ -680,6 +680,7 @@ gtk_text_buffer_get_serialize_formats is_array="1" transfer_ownership="1"
 gtk_text_buffer_get_serialize_formats.n_formats hidden="1"
 gtk_text_buffer_set_text.len default_value="-1"
 gtk_text_child_anchor_get_widgets transfer_ownership="1" type_arguments="unowned Widget"
+gtk_text_tag_new.name nullable="1" default_value="null"
 gtk_text_tag_table_foreach.data hidden="1"
 GtkTextBuffer::apply_tag has_emitter="1"
 GtkTextBuffer::begin_user_action has_emitter="1"



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