[vala/0.14] gtk+-2.0, gtk+-3.0: Mark BuilderConnectFunc.connect_object as nullable



commit b828b1ca2a5093070a50f41d900a51b39b9fe994
Author: Fabian Deutsch <fabian deutsch gmx de>
Date:   Mon Jan 9 10:04:51 2012 +0100

    gtk+-2.0, gtk+-3.0: Mark BuilderConnectFunc.connect_object as nullable
    
    Fixes bug 667524.

 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 50c1b62..b0e68fa 100644
--- a/vapi/gtk+-2.0.vapi
+++ b/vapi/gtk+-2.0.vapi
@@ -7425,7 +7425,7 @@ namespace Gtk {
 	[CCode (cheader_filename = "gtk/gtk.h")]
 	public delegate int AssistantPageFunc (int current_page);
 	[CCode (cheader_filename = "gtk/gtk.h")]
-	public delegate void BuilderConnectFunc (Gtk.Builder builder, GLib.Object object, string signal_name, string handler_name, GLib.Object connect_object, GLib.ConnectFlags flags);
+	public delegate void BuilderConnectFunc (Gtk.Builder builder, GLib.Object object, string signal_name, string handler_name, GLib.Object? connect_object, GLib.ConnectFlags flags);
 	[CCode (cheader_filename = "gtk/gtk.h")]
 	public delegate string CalendarDetailFunc (Gtk.Calendar calendar, uint year, uint month, uint day);
 	[CCode (cheader_filename = "gtk/gtk.h")]
diff --git a/vapi/gtk+-3.0.vapi b/vapi/gtk+-3.0.vapi
index c1d25bd..01c5d2a 100644
--- a/vapi/gtk+-3.0.vapi
+++ b/vapi/gtk+-3.0.vapi
@@ -7296,7 +7296,7 @@ namespace Gtk {
 	[CCode (cheader_filename = "gtk/gtk.h")]
 	public delegate int AssistantPageFunc (int current_page);
 	[CCode (cheader_filename = "gtk/gtk.h")]
-	public delegate void BuilderConnectFunc (Gtk.Builder builder, GLib.Object object, string signal_name, string handler_name, GLib.Object connect_object, GLib.ConnectFlags flags);
+	public delegate void BuilderConnectFunc (Gtk.Builder builder, GLib.Object object, string signal_name, string handler_name, GLib.Object? connect_object, GLib.ConnectFlags flags);
 	[CCode (cheader_filename = "gtk/gtk.h")]
 	public delegate string CalendarDetailFunc (Gtk.Calendar calendar, uint year, uint month, uint day);
 	[CCode (cheader_filename = "gtk/gtk.h")]
diff --git a/vapi/packages/gtk+-2.0/gtk+-2.0.metadata b/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
index 059c818..4a7352d 100644
--- a/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
+++ b/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
@@ -82,6 +82,7 @@ gtk_buildable_custom_tag_start.data is_out="1"
 gtk_builder_add_objects_from_file.object_ids no_array_length="1" is_array="1"
 gtk_builder_add_objects_from_string.object_ids no_array_length="1" is_array="1"
 gtk_builder_get_objects transfer_ownership="1" type_arguments="unowned GLib.Object"
+GtkBuilderConnectFunc.connect_object nullable="1"
 GtkBuilderError errordomain="1"
 gtk_button_get_alignment.xalign is_out="1"
 gtk_button_get_alignment.yalign is_out="1"
diff --git a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
index b511045..49b753b 100644
--- a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
+++ b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
@@ -89,6 +89,7 @@ gtk_buildable_custom_tag_start.data is_out="1"
 gtk_builder_add_objects_from_file.object_ids no_array_length="1" is_array="1"
 gtk_builder_add_objects_from_string.object_ids no_array_length="1" is_array="1"
 gtk_builder_get_objects transfer_ownership="1" type_arguments="unowned GLib.Object"
+GtkBuilderConnectFunc.connect_object nullable="1"
 GtkBuilderError errordomain="1"
 gtk_button_get_alignment.xalign is_out="1"
 gtk_button_get_alignment.yalign is_out="1"



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