From 28704a8d3ebc1ef7e1471586ad23ab42e0e4ebc8 Mon Sep 17 00:00:00 2001 From: Juerg Billeter Date: Thu, 7 Feb 2008 08:06:13 +0000 Subject: [PATCH] vapi/packages/gtk+-2.0/: set array_length_pos for init methods 2008-02-07 Juerg Billeter * vapi/glib-2.0.vapi, vapi/packages/gstreamer-0.10/: vapi/packages/gtk+-2.0/: set array_length_pos for init methods * vapi/gstreamer-0.10.vapi, vapi/gtk+-2.0.vapi: regenerated svn path=/trunk/; revision=986 --- ChangeLog | 7 +++++++ vapi/glib-2.0.vapi | 2 +- vapi/gstreamer-0.10.vapi | 2 +- vapi/gtk+-2.0.vapi | 23 +++++++++++++++++++++- .../gstreamer-0.10/gstreamer-0.10-custom.vala | 4 ++-- vapi/packages/gtk+-2.0/gtk+-2.0-custom.vala | 2 +- 6 files changed, 34 insertions(+), 6 deletions(-) diff --git a/ChangeLog b/ChangeLog index 8ea7a44..e85fc29 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,12 @@ 2008-02-07 Jürg Billeter + * vapi/glib-2.0.vapi, vapi/packages/gstreamer-0.10/: + vapi/packages/gtk+-2.0/: set array_length_pos for init methods + + * vapi/gstreamer-0.10.vapi, vapi/gtk+-2.0.vapi: regenerated + +2008-02-07 Jürg Billeter + * vala/valasignal.vala, vapigen/valagidlparser.vala: fix properties and signals in vapigen diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi index 28e48e1..aecf034 100644 --- a/vapi/glib-2.0.vapi +++ b/vapi/glib-2.0.vapi @@ -2436,7 +2436,7 @@ namespace GLib { public static void minimized_result (double minimized_quantity, string format, ...); [PrintfFormat] public static void maximized_result (double maximized_quantity, string format, ...); - public static void init (ref string[] args); + public static void init ([CCode (array_length_pos = 0.9)] ref string[] args); public static bool quick (); public static bool slow (); public static bool thorough (); diff --git a/vapi/gstreamer-0.10.vapi b/vapi/gstreamer-0.10.vapi index 101a50a..88d0606 100644 --- a/vapi/gstreamer-0.10.vapi +++ b/vapi/gstreamer-0.10.vapi @@ -1840,7 +1840,7 @@ namespace Gst { public const int VERSION_MICRO; public const int VERSION_MINOR; public const int VERSION_NANO; - public static void init (ref string[] args); + public static void init ([CCode (array_length_pos = 0.9)] ref string[] args); public static void atomic_int_set (int atomic_int, int value); public static uint class_signal_connect (pointer klass, string name, pointer func, pointer func_data); public static void class_signal_emit_by_name (Gst.Object object, string name, pointer self); diff --git a/vapi/gtk+-2.0.vapi b/vapi/gtk+-2.0.vapi index a1e2d06..eefd098 100644 --- a/vapi/gtk+-2.0.vapi +++ b/vapi/gtk+-2.0.vapi @@ -5993,6 +5993,17 @@ namespace Gtk { public void unselect_all (); public void unselect_filename (string filename); public void unselect_uri (string uri); + public weak Gtk.FileChooserAction action { get; set; } + public weak bool do_overwrite_confirmation { get; set; } + public weak Gtk.Widget extra_widget { get; set; } + public weak string file_system_backend { construct; } + public weak Gtk.FileFilter filter { get; set; } + public weak bool local_only { get; set; } + public weak Gtk.Widget preview_widget { get; set; } + public weak bool preview_widget_active { get; set; } + public weak bool select_multiple { get; set; } + public weak bool show_hidden { get; set; } + public weak bool use_preview_label { get; set; } public signal Gtk.FileChooserConfirmation confirm_overwrite (); public signal void current_folder_changed (); public signal void file_activated (); @@ -6043,6 +6054,16 @@ namespace Gtk { public abstract void set_sort_func (Gtk.RecentSortFunc sort_func, pointer sort_data, GLib.DestroyNotify data_destroy); public abstract void unselect_all (); public abstract void unselect_uri (string uri); + public weak Gtk.RecentFilter filter { get; set; } + public weak int limit { get; set; } + public weak bool local_only { get; set; } + public weak Gtk.RecentManager recent_manager { construct; } + public weak bool select_multiple { get; set; } + public weak bool show_icons { get; set; } + public weak bool show_not_found { get; set; } + public weak bool show_private { get; set; } + public weak bool show_tips { get; set; } + public weak Gtk.RecentSortType sort_type { get; set; } public signal void item_activated (); public signal void selection_changed (); } @@ -6489,7 +6510,7 @@ namespace Gtk { public const string STOCK_ZOOM_OUT; public const int TEXT_VIEW_PRIORITY_VALIDATE; public const int TYPE_FUNDAMENTAL_LAST; - public static void init (ref string[] args); + public static void init ([CCode (array_length_pos = 0.9)] ref string[] args); public static bool accel_groups_activate (GLib.Object object, uint accel_key, Gdk.ModifierType accel_mods); public static weak GLib.SList accel_groups_from_object (GLib.Object object); public static uint accelerator_get_default_mod_mask (); diff --git a/vapi/packages/gstreamer-0.10/gstreamer-0.10-custom.vala b/vapi/packages/gstreamer-0.10/gstreamer-0.10-custom.vala index f46b265..7ed882c 100644 --- a/vapi/packages/gstreamer-0.10/gstreamer-0.10-custom.vala +++ b/vapi/packages/gstreamer-0.10/gstreamer-0.10-custom.vala @@ -1,6 +1,6 @@ /* gstreamer-0.10-custom.vala * - * Copyright (C) 2007 Jürg Billeter + * Copyright (C) 2007-2008 Jürg Billeter * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -22,5 +22,5 @@ namespace Gst { [Import] - public void init (ref string[] args); + public void init ([CCode (array_length_pos = 0.9)] ref string[] args); } diff --git a/vapi/packages/gtk+-2.0/gtk+-2.0-custom.vala b/vapi/packages/gtk+-2.0/gtk+-2.0-custom.vala index dbcedbd..890f5eb 100644 --- a/vapi/packages/gtk+-2.0/gtk+-2.0-custom.vala +++ b/vapi/packages/gtk+-2.0/gtk+-2.0-custom.vala @@ -22,7 +22,7 @@ namespace Gtk { [Import] - public void init (ref string[] args); + public void init ([CCode (array_length_pos = 0.9)] ref string[] args); public struct Allocation { public int x; -- 2.7.4