]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gdk-2.0: Add missing type arguments
authorSimon Wenner <simon@wenner.ch>
Sat, 17 Jul 2010 06:57:05 +0000 (23:57 -0700)
committerEvan Nemerson <evan@coeus-group.com>
Sat, 17 Jul 2010 06:57:05 +0000 (23:57 -0700)
Fixes bug 624043.

vapi/gdk-2.0.vapi
vapi/packages/gdk-2.0/gdk-2.0.metadata

index feaf6d432a131c78225006ebe1ce7871abbabb7a..562acf5e70e467ca3e2fd9abd6d454353a9cea63 100644 (file)
@@ -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")]
index 4bdfc8a5082b2cf40295e1eeb4ad6620cf463978..54014ec2380cbdb29d3eb98a737baa03d34dc234 100644 (file)
@@ -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"