summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Deutsch <fabian.deutsch@gmx.de>2012-01-09 10:04:51 +0100
committerLuca Bruno <lucabru@src.gnome.org>2012-01-09 10:24:53 +0100
commit19970a9fc6450f3330916f48eed834de9696a71e (patch)
tree0f0ea5339128f7222a287425aa8a4203145bd542
parent15274701a10cb5425872cfc3d23ee62e6b660c84 (diff)
downloadvala-19970a9fc6450f3330916f48eed834de9696a71e.tar.gz
gtk+-2.0, gtk+-3.0: Mark BuilderConnectFunc.connect_object as nullable
Fixes bug 667524.
-rw-r--r--vapi/gtk+-2.0.vapi2
-rw-r--r--vapi/gtk+-3.0.vapi2
-rw-r--r--vapi/packages/gtk+-2.0/gtk+-2.0.metadata1
-rw-r--r--vapi/packages/gtk+-3.0/gtk+-3.0.metadata1
4 files changed, 4 insertions, 2 deletions
diff --git a/vapi/gtk+-2.0.vapi b/vapi/gtk+-2.0.vapi
index 918d70c23..b5d3c5c30 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 114e4aa04..4addda8bb 100644
--- a/vapi/gtk+-3.0.vapi
+++ b/vapi/gtk+-3.0.vapi
@@ -7340,7 +7340,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 842664a82..b91ed3b69 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 2d180300d..a49d63fb4 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"