]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gtk+-2.0, gtk+-3.0: make TextTag constructor's parameter nullable
authorEvan Nemerson <evan@coeus-group.com>
Sun, 6 May 2012 20:33:08 +0000 (13:33 -0700)
committerJürg Billeter <j@bitron.ch>
Sat, 23 Jun 2012 15:19:09 +0000 (17:19 +0200)
vapi/gtk+-2.0.vapi
vapi/gtk+-3.0.vapi
vapi/packages/gtk+-2.0/gtk+-2.0.metadata
vapi/packages/gtk+-3.0/gtk+-3.0.metadata

index 129ec2f0c112589008c7123fd05f3f845fbe55bc..205c192418a0b72b786b726d9f159bbc36bc217e 100644 (file)
@@ -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]
index e03fdb275dfb510795e1cbbbf70a1086783172a2..fd274bb05aba73aec12595c938009c69469d49dc 100644 (file)
@@ -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]
index c1a0beeab978ea2543181bdef58097db094b2764..8a014a1a57b2a20f717fa2fecd01a495f759ab2f 100644 (file)
@@ -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"
index 0deb5293c97452d2ddc69bf53d53fd9bbae8ba07..bdcfd911169388c9d61bce85dfdb6fd96caa1429 100644 (file)
@@ -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"