[vala] gdk-2.0: Add missing type arguments



commit 26b892aab2e9c8df7d7736410244a6b3563da82e
Author: Simon Wenner <simon wenner ch>
Date:   Fri Jul 16 23:57:05 2010 -0700

    gdk-2.0: Add missing type arguments
    
    Fixes bug 624043.

 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 feaf6d4..562acf5 100644
--- a/vapi/gdk-2.0.vapi
+++ b/vapi/gdk-2.0.vapi
@@ -166,7 +166,7 @@ namespace Gdk {
 		public weak Gdk.Window source_window;
 		public uint32 start_time;
 		public Gdk.DragAction suggested_action;
-		public weak GLib.List targets;
+		public weak GLib.List<Gdk.Atom> targets;
 		public void* windowing_data;
 		[CCode (has_construct_function = false)]
 		public DragContext ();
@@ -1607,7 +1607,7 @@ namespace Gdk {
 	[CCode (cheader_filename = "gdk/gdk.h")]
 	public static void drag_abort (Gdk.DragContext context, uint32 time_);
 	[CCode (cheader_filename = "gdk/gdk.h")]
-	public static unowned Gdk.DragContext drag_begin (Gdk.Window window, GLib.List targets);
+	public static unowned Gdk.DragContext drag_begin (Gdk.Window window, GLib.List<Gdk.Atom> targets);
 	[CCode (cheader_filename = "gdk/gdk.h")]
 	public static void drag_drop (Gdk.DragContext context, uint32 time_);
 	[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 4bdfc8a..54014ec 100644
--- a/vapi/packages/gdk-2.0/gdk-2.0.metadata
+++ b/vapi/packages/gdk-2.0/gdk-2.0.metadata
@@ -30,6 +30,8 @@ gdk_display_get_pointer.mask is_out="1"
 gdk_display_list_devices type_arguments="Device"
 gdk_display_peek_event transfer_ownership="1"
 gdk_display_manager_list_displays type_arguments="unowned Display" transfer_ownership="1"
+GdkDragContext.targets type_arguments="Atom"
+gdk_drag_begin.targets type_arguments="Atom"
 gdk_drawable_draw_* hidden="1"
 gdk_drawable_get_size.width is_out="1"
 gdk_drawable_get_size.height is_out="1"



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