[vala] gdk-2.0: fix gdk*_add_client_message_filter bindings



commit 1aa72fc7db5907cc008f94fab10ba35c6b6143c3
Author: Mark Lee <marklee svn gnome org>
Date:   Thu Apr 2 13:11:45 2009 -0700

    gdk-2.0: fix gdk*_add_client_message_filter bindings
    
    Hide the data parameters for Gdk.add_client_message_filter() and
    Gdk.Display.add_client_message_filter(). Fixes bug 577766.
---
 vapi/gdk-2.0.vapi                      |    4 ++--
 vapi/packages/gdk-2.0/gdk-2.0.metadata |    2 ++
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/vapi/gdk-2.0.vapi b/vapi/gdk-2.0.vapi
index 3ca2e91..d332481 100644
--- a/vapi/gdk-2.0.vapi
+++ b/vapi/gdk-2.0.vapi
@@ -93,7 +93,7 @@ namespace Gdk {
 		public weak Gdk.DisplayPointerHooks pointer_hooks;
 		public weak GLib.List queued_events;
 		public weak GLib.List queued_tail;
-		public void add_client_message_filter (Gdk.Atom message_type, Gdk.FilterFunc func, void* data);
+		public void add_client_message_filter (Gdk.Atom message_type, Gdk.FilterFunc func);
 		public void beep ();
 		public void close ();
 		public void flush ();
@@ -1524,7 +1524,7 @@ namespace Gdk {
 	[CCode (cheader_filename = "gdk/gdk.h")]
 	public const Gdk.Atom SELECTION_SECONDARY;
 	[CCode (cheader_filename = "gdk/gdk.h")]
-	public static void add_client_message_filter (Gdk.Atom message_type, Gdk.FilterFunc func, void* data);
+	public static void add_client_message_filter (Gdk.Atom message_type, Gdk.FilterFunc func);
 	[CCode (cheader_filename = "gdk/gdk.h")]
 	public static void add_option_entries_libgtk_only (GLib.OptionGroup group);
 	[CCode (cheader_filename = "gdk/gdk.h")]
diff --git a/vapi/packages/gdk-2.0/gdk-2.0.metadata b/vapi/packages/gdk-2.0/gdk-2.0.metadata
index b209356..f99650c 100644
--- a/vapi/packages/gdk-2.0/gdk-2.0.metadata
+++ b/vapi/packages/gdk-2.0/gdk-2.0.metadata
@@ -1,4 +1,5 @@
 Gdk cheader_filename="gdk/gdk.h"
+gdk_add_client_message_filter.data hidden="1"
 GdkAppLaunchContextClass hidden="1"
 GdkAtom is_value_type="1" simple_type="1"
 gdk_bitmap_create_from_data transfer_ownership="1"
@@ -16,6 +17,7 @@ GdkDeviceAxis is_value_type="1"
 GdkDeviceClass hidden="1"
 GdkDeviceKey is_value_type="1"
 GdkDisplay.closed hidden="1"
+gdk_display_add_client_message_filter.data hidden="1"
 gdk_display_get_maximal_cursor_size.width is_out="1"
 gdk_display_get_maximal_cursor_size.height is_out="1"
 gdk_drawable_draw_pixbuf.gc nullable="1"



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