[vala/0.10: 25/38] gtk+-2.0, gtk+-3.0: Make Gtk.Menu.attach_to_widget.detacher nullable.



commit 4205a66c7e117290868f0497269338189c93968f
Author: Luca Bruno <lethalman88 gmail com>
Date:   Fri Aug 20 22:30:18 2010 +0200

    gtk+-2.0, gtk+-3.0: Make Gtk.Menu.attach_to_widget.detacher nullable.
    
    Fixes bug 626580.

 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 d8e4307..0ebd87e 100644
--- a/vapi/gtk+-2.0.vapi
+++ b/vapi/gtk+-2.0.vapi
@@ -2343,7 +2343,7 @@ namespace Gtk {
 		[CCode (type = "GtkWidget*", has_construct_function = false)]
 		public Menu ();
 		public void attach (Gtk.Widget child, uint left_attach, uint right_attach, uint top_attach, uint bottom_attach);
-		public void attach_to_widget (Gtk.Widget attach_widget, Gtk.MenuDetachFunc detacher);
+		public void attach_to_widget (Gtk.Widget attach_widget, Gtk.MenuDetachFunc? detacher);
 		public void detach ();
 		public unowned Gtk.AccelGroup get_accel_group ();
 		public unowned string get_accel_path ();
diff --git a/vapi/gtk+-3.0.vapi b/vapi/gtk+-3.0.vapi
index 0846d8c..3de3c5b 100644
--- a/vapi/gtk+-3.0.vapi
+++ b/vapi/gtk+-3.0.vapi
@@ -2114,7 +2114,7 @@ namespace Gtk {
 		[CCode (type = "GtkWidget*", has_construct_function = false)]
 		public Menu ();
 		public void attach (Gtk.Widget child, uint left_attach, uint right_attach, uint top_attach, uint bottom_attach);
-		public void attach_to_widget (Gtk.Widget attach_widget, Gtk.MenuDetachFunc detacher);
+		public void attach_to_widget (Gtk.Widget attach_widget, Gtk.MenuDetachFunc? detacher);
 		public void detach ();
 		public unowned Gtk.AccelGroup get_accel_group ();
 		public unowned string get_accel_path ();
diff --git a/vapi/packages/gtk+-2.0/gtk+-2.0.metadata b/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
index 5bb5f07..4f08505 100644
--- a/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
+++ b/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
@@ -283,6 +283,7 @@ gtk_link_button_set_uri_hook.func transfer_ownership="1"
 gtk_link_button_set_uri_hook.data hidden="1"
 gtk_link_button_set_uri_hook.destroy hidden="1"
 gtk_link_button_set_uri_hook type_name="void"
+gtk_menu_attach_to_widget.detacher nullable="1"
 gtk_menu_get_for_attach_widget type_arguments="Menu"
 gtk_menu_popup.data hidden="1"
 gtk_menu_popup.func nullable="1"
diff --git a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
index f535b86..0714b01 100644
--- a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
+++ b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
@@ -286,6 +286,7 @@ gtk_link_button_set_uri_hook.func transfer_ownership="1"
 gtk_link_button_set_uri_hook.data hidden="1"
 gtk_link_button_set_uri_hook.destroy hidden="1"
 gtk_link_button_set_uri_hook type_name="void"
+gtk_menu_attach_to_widget.detacher nullable="1"
 gtk_menu_get_for_attach_widget type_arguments="Menu"
 gtk_menu_popup.data hidden="1"
 gtk_menu_popup.func nullable="1"



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