]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gdk-2.0: add many missing type_arguments
authorEvan Nemerson <evan@coeus-group.com>
Fri, 2 Apr 2010 20:46:28 +0000 (13:46 -0700)
committerEvan Nemerson <evan@coeus-group.com>
Fri, 2 Apr 2010 20:46:28 +0000 (13:46 -0700)
Partially fixes bug 609875.

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

index 1974209d0a531c31c12d59e3b6b1a6c12f90f779..4b93e27dca53885ca7f29d6ed573fdcaa8219e46 100644 (file)
@@ -117,7 +117,7 @@ namespace Gdk {
                public virtual unowned Gdk.Screen get_screen (int screen_num);
                public unowned Gdk.Window get_window_at_pointer (int win_x, int win_y);
                public void keyboard_ungrab (uint32 time_);
-               public unowned GLib.List list_devices ();
+               public unowned GLib.List<Gdk.Device> list_devices ();
                public static unowned Gdk.Display open (string display_name);
                public static unowned Gdk.Display open_default_libgtk_only ();
                public Gdk.Event peek_event ();
@@ -144,7 +144,7 @@ namespace Gdk {
        public class DisplayManager : GLib.Object {
                public static unowned Gdk.DisplayManager @get ();
                public unowned Gdk.Display get_default_display ();
-               public unowned GLib.SList list_displays ();
+               public GLib.SList<weak Gdk.Display> list_displays ();
                public void set_default_display (Gdk.Display display);
                public Gdk.Display default_display { get; set; }
                public virtual signal void display_opened (Gdk.Display display);
@@ -467,14 +467,14 @@ namespace Gdk {
                public bool get_setting (string name, GLib.Value value);
                public unowned Gdk.Colormap get_system_colormap ();
                public unowned Gdk.Visual get_system_visual ();
-               public unowned GLib.List get_toplevel_windows ();
+               public GLib.List<weak Gdk.Window> get_toplevel_windows ();
                public int get_width ();
                public int get_width_mm ();
-               public unowned GLib.List get_window_stack ();
+               public GLib.List<Gdk.Window>? get_window_stack ();
                public static int height ();
                public static int height_mm ();
                public bool is_composited ();
-               public unowned GLib.List list_visuals ();
+               public GLib.List<weak Gdk.Visual> list_visuals ();
                public unowned string make_display_name ();
                public void set_default_colormap (Gdk.Colormap colormap);
                public void set_font_options (Cairo.FontOptions options);
@@ -541,7 +541,7 @@ namespace Gdk {
                public void freeze_updates ();
                public void fullscreen ();
                public void geometry_changed ();
-               public unowned GLib.List get_children ();
+               public GLib.List<weak Gdk.Window> get_children ();
                public unowned Gdk.Cursor? get_cursor ();
                public bool get_decorations (out Gdk.WMDecoration decorations);
                public bool get_deskrelative_origin (out int x, out int y);
@@ -581,7 +581,7 @@ namespace Gdk {
                public void move (int x, int y);
                public void move_region (Gdk.Region region, int dx, int dy);
                public void move_resize (int x, int y, int width, int height);
-               public unowned GLib.List peek_children ();
+               public unowned GLib.List<Gdk.Window> peek_children ();
                public static void process_all_updates ();
                public void process_updates (bool update_children);
                public void raise ();
@@ -607,7 +607,7 @@ namespace Gdk {
                public void set_geometry_hints (Gdk.Geometry geometry, Gdk.WindowHints geom_mask);
                public void set_group (Gdk.Window leader);
                public void set_icon (Gdk.Window icon_window, Gdk.Pixmap pixmap, Gdk.Bitmap mask);
-               public void set_icon_list (GLib.List pixbufs);
+               public void set_icon_list (GLib.List<Gdk.Pixbuf> pixbufs);
                public void set_icon_name (string name);
                public void set_keep_above (bool setting);
                public void set_keep_below (bool setting);
@@ -1601,7 +1601,7 @@ namespace Gdk {
        [CCode (cheader_filename = "gdk/gdk.h")]
        public static void colors_free (Gdk.Colormap colormap, ulong pixels, int npixels, ulong planes);
        [CCode (cheader_filename = "gdk/gdk.h")]
-       public static unowned GLib.List devices_list ();
+       public static unowned GLib.List<Gdk.Device> devices_list ();
        [CCode (cheader_filename = "gdk/gdk.h")]
        public static void drag_abort (Gdk.DragContext context, uint32 time_);
        [CCode (cheader_filename = "gdk/gdk.h")]
@@ -1731,7 +1731,7 @@ namespace Gdk {
        [CCode (cheader_filename = "gdk/gdk.h")]
        public static uint keyval_to_upper (uint keyval);
        [CCode (cheader_filename = "gdk/gdk.h")]
-       public static unowned GLib.List list_visuals ();
+       public static GLib.List<weak Gdk.Visual> list_visuals ();
        [CCode (cheader_filename = "gdk/gdk.h")]
        public static void notify_startup_complete ();
        [CCode (cheader_filename = "gdk/gdk.h")]
index afb7b4e05eeab65957f278773a76fcc24dd1a86d..da1f70f8fdab05eef61bf8f8bbebd02f494aab46 100644 (file)
@@ -27,7 +27,9 @@ gdk_display_get_maximal_cursor_size.height is_out="1"
 gdk_display_get_pointer.x is_out="1"
 gdk_display_get_pointer.y is_out="1"
 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"
 gdk_drawable_draw_* hidden="1"
 gdk_drawable_get_size.width is_out="1"
 gdk_drawable_get_size.height is_out="1"
@@ -93,6 +95,9 @@ gdk_region_polygon transfer_ownership="1"
 gdk_rgb_find_color.color is_ref="1"
 GdkRgbCmap is_value_type="1"
 gdk_screen_get_monitor_geometry.dest is_out="1"
+gdk_screen_get_toplevel_windows type_arguments="unowned Window" transfer_ownership="1"
+gdk_screen_get_window_stack type_arguments="Window" transfer_ownership="1" nullable="1"
+gdk_screen_list_visuals type_arguments="unowned Visual" transfer_ownership="1"
 GdkSegment is_value_type="1"
 GdkSpan is_value_type="1"
 gdk_spawn_on_screen.working_directory nullable="1"
@@ -133,6 +138,7 @@ GdkWindowClass common_prefix="GDK_"
 GdkWindowObject hidden="1"
 GdkWindowObjectClass hidden="1"
 GdkWindowRedirect is_value_type="1"
+gdk_window_get_children type_arguments="unowned Window" transfer_ownership="1"
 gdk_window_get_cursor nullable="1"
 gdk_window_get_geometry.x is_out="1"
 gdk_window_get_geometry.y is_out="1"
@@ -151,5 +157,10 @@ gdk_window_get_root_origin.x is_out="1"
 gdk_window_get_root_origin.y is_out="1"
 gdk_window_invalidate_rect.rect nullable="1"
 gdk_window_new.parent nullable="1"
+gdk_window_peek_children type_arguments="Window"
 gdk_window_set_back_pixmap.pixmap nullable="1"
+gdk_window_set_icon_list.pixbufs type_arguments="Pixbuf"
 GdkXEvent is_value_type="1"
+
+gdk_devices_list type_arguments="Device"
+gdk_list_visuals type_arguments="unowned Visual" transfer_ownership="1"