[vala] gtk+-2.0: Gtk.get_current_event_state's argument should be out.



commit 528049f603b966ee478ee2a77a61871df3f685a4
Author: Evan Nemerson <evan coeus-group com>
Date:   Sat Dec 19 10:03:17 2009 -0800

    gtk+-2.0: Gtk.get_current_event_state's argument should be out.
    
    Fixes bug 603751.

 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 a322c3d..44f8672 100644
--- a/vapi/gtk+-2.0.vapi
+++ b/vapi/gtk+-2.0.vapi
@@ -7525,7 +7525,7 @@ namespace Gtk {
 	[CCode (cheader_filename = "gtk/gtk.h")]
 	public static Gdk.Event get_current_event ();
 	[CCode (cheader_filename = "gtk/gtk.h")]
-	public static bool get_current_event_state (Gdk.ModifierType state);
+	public static bool get_current_event_state (out Gdk.ModifierType state);
 	[CCode (cheader_filename = "gtk/gtk.h")]
 	public static uint32 get_current_event_time ();
 	[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 31f73aa..a5fb60b 100644
--- a/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
+++ b/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
@@ -158,6 +158,7 @@ GtkHandleBox::child_detached hidden="1"
 gtk_hscale_new.adjustment nullable="1"
 GtkInfoBar::response has_emitter="1"
 gtk_get_current_event transfer_ownership="1"
+gtk_get_current_event_state.state is_out="1"
 gtk_get_option_group transfer_ownership="1"
 gtk_hscrollbar_new.adjustment nullable="1"
 gtk_icon_info_copy transfer_ownership="1"



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