[vala] gtk+-2.0: gtk_window_set_focus parameter can be null



commit e37df85df0a1beaf2fa6cacd9d016ca7e79fda98
Author: Nicolas Bruguier <nicolas bruguier supersonicimagine fr>
Date:   Sat Aug 29 15:54:35 2009 +0200

    gtk+-2.0: gtk_window_set_focus parameter can be null
    
    Fixes bug 593491.

 vapi/gtk+-2.0.vapi                       |    2 +-
 vapi/packages/gtk+-2.0/gtk+-2.0.metadata |    1 +
 2 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/vapi/gtk+-2.0.vapi b/vapi/gtk+-2.0.vapi
index 64525ed..5806d73 100644
--- a/vapi/gtk+-2.0.vapi
+++ b/vapi/gtk+-2.0.vapi
@@ -5447,7 +5447,7 @@ namespace Gtk {
 		public virtual signal bool frame_event (Gdk.Event event);
 		public virtual signal void keys_changed ();
 		[HasEmitter]
-		public virtual signal void set_focus (Gtk.Widget focus);
+		public virtual signal void set_focus (Gtk.Widget? focus);
 	}
 	[Compact]
 	[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 0b90ab0..e83838e 100644
--- a/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
+++ b/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
@@ -662,6 +662,7 @@ gtk_widget_new hidden="1"
 GtkWindow::activate_default name="default_activated" experimental="1"
 GtkWindow::activate_focus name="focus_activated" experimental="1"
 GtkWindow::set_focus has_emitter="1"
+GtkWindow::set_focus.focus nullable="1"
 GtkWidget::button_press_event.event namespace_name="Gdk" type_name="EventButton"
 GtkWidget::button_release_event.event namespace_name="Gdk" type_name="EventButton"
 GtkWidget::client_event.event namespace_name="Gdk" type_name="EventClient"



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