[vala/wip/girparser: 52/52] Regenerate GIR-based bindings



commit 05d2292ae11c9a9fb70108853da7ce455af4654c
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Tue Sep 27 22:50:13 2016 +0200

    Regenerate GIR-based bindings

 vapi/atk.vapi                       |   16 +-
 vapi/atspi-2.vapi                   |    2 +-
 vapi/clutter-1.0.vapi               |    8 +-
 vapi/cogl-pango-1.0.vapi            |   12 +-
 vapi/gobject-introspection-1.0.vapi |  264 +++++++++++++++++-----------------
 vapi/gstreamer-1.0.vapi             |   28 ++--
 vapi/gstreamer-player-1.0.vapi      |    6 +-
 vapi/packagekit-glib2.vapi          |   44 +++---
 vapi/pango.vapi                     |    6 +-
 vapi/polkit-gobject-1.vapi          |    2 +-
 10 files changed, 194 insertions(+), 194 deletions(-)
---
diff --git a/vapi/atk.vapi b/vapi/atk.vapi
index 8beebf5..44ba7d8 100644
--- a/vapi/atk.vapi
+++ b/vapi/atk.vapi
@@ -664,7 +664,7 @@ namespace Atk {
                [CCode (cheader_filename = "atk/atk.h")]
                public static Atk.RelationType for_name (string name);
                [CCode (cheader_filename = "atk/atk.h")]
-               public static unowned string get_name (Atk.RelationType type);
+               public unowned string get_name ();
                [CCode (cheader_filename = "atk/atk.h")]
                public static Atk.RelationType register (string name);
        }
@@ -799,9 +799,9 @@ namespace Atk {
                [CCode (cheader_filename = "atk/atk.h")]
                public static Atk.Role for_name (string name);
                [CCode (cheader_filename = "atk/atk.h")]
-               public static unowned string get_localized_name (Atk.Role role);
+               public unowned string get_localized_name ();
                [CCode (cheader_filename = "atk/atk.h")]
-               public static unowned string get_name (Atk.Role role);
+               public unowned string get_name ();
                [CCode (cheader_filename = "atk/atk.h")]
                [Version (deprecated = true)]
                public static Atk.Role register (string name);
@@ -855,7 +855,7 @@ namespace Atk {
                [CCode (cheader_filename = "atk/atk.h")]
                public static Atk.StateType for_name (string name);
                [CCode (cheader_filename = "atk/atk.h")]
-               public static unowned string get_name (Atk.StateType type);
+               public unowned string get_name ();
                [CCode (cheader_filename = "atk/atk.h")]
                public static Atk.StateType register (string name);
        }
@@ -893,9 +893,9 @@ namespace Atk {
                [CCode (cheader_filename = "atk/atk.h")]
                public static Atk.TextAttribute for_name (string name);
                [CCode (cheader_filename = "atk/atk.h")]
-               public static unowned string get_name (Atk.TextAttribute attr);
+               public unowned string get_name ();
                [CCode (cheader_filename = "atk/atk.h")]
-               public static unowned string? get_value (Atk.TextAttribute attr, int index_);
+               public unowned string? get_value (int index_);
                [CCode (cheader_filename = "atk/atk.h")]
                public static Atk.TextAttribute register (string name);
        }
@@ -943,9 +943,9 @@ namespace Atk {
                BEST,
                LAST_DEFINED;
                [CCode (cheader_filename = "atk/atk.h")]
-               public static unowned string get_localized_name (Atk.ValueType value_type);
+               public unowned string get_localized_name ();
                [CCode (cheader_filename = "atk/atk.h")]
-               public static unowned string get_name (Atk.ValueType value_type);
+               public unowned string get_name ();
        }
        [CCode (cheader_filename = "atk/atk.h", has_target = false)]
        public delegate void EventListener (Atk.Object obj);
diff --git a/vapi/atspi-2.vapi b/vapi/atspi-2.vapi
index 4ea469d..3f775d3 100644
--- a/vapi/atspi-2.vapi
+++ b/vapi/atspi-2.vapi
@@ -698,7 +698,7 @@ namespace Atspi {
                SUBSCRIPT,
                SUPERSCRIPT,
                LAST_DEFINED;
-               public static string get_name (Atspi.Role role);
+               public string get_name ();
        }
        [CCode (cheader_filename = "atspi/atspi.h", cprefix = "ATSPI_STATE_", type_id = 
"atspi_state_type_get_type ()")]
        public enum StateType {
diff --git a/vapi/clutter-1.0.vapi b/vapi/clutter-1.0.vapi
index f4fcdb3..3a41e2a 100644
--- a/vapi/clutter-1.0.vapi
+++ b/vapi/clutter-1.0.vapi
@@ -8315,14 +8315,14 @@ namespace Clutter {
                [Version (since = "1.12")]
                public static Clutter.Matrix? alloc ();
                [Version (since = "1.12")]
-               public static void free (Clutter.Matrix? matrix);
+               public void free ();
                public static GLib.Type get_type ();
                [Version (since = "1.12")]
-               public static unowned Clutter.Matrix? init_from_array (Clutter.Matrix matrix, [CCode 
(array_length = false)] float values[16]);
+               public unowned Clutter.Matrix? init_from_array ([CCode (array_length = false)] float 
values[16]);
                [Version (since = "1.12")]
-               public static unowned Clutter.Matrix? init_from_matrix (Clutter.Matrix a, Clutter.Matrix b);
+               public unowned Clutter.Matrix? init_from_matrix (Clutter.Matrix b);
                [Version (since = "1.12")]
-               public static unowned Clutter.Matrix? init_identity (Clutter.Matrix matrix);
+               public unowned Clutter.Matrix? init_identity ();
        }
        [CCode (cheader_filename = "clutter/clutter.h", type_id = "clutter_path_node_get_type ()")]
        [Version (since = "1.0")]
diff --git a/vapi/cogl-pango-1.0.vapi b/vapi/cogl-pango-1.0.vapi
index ebdee26..e430b8d 100644
--- a/vapi/cogl-pango-1.0.vapi
+++ b/vapi/cogl-pango-1.0.vapi
@@ -11,18 +11,18 @@ namespace CoglPango {
        [CCode (cheader_filename = "cogl-pango/cogl-pango.h")]
        public interface FontMap : Pango.CairoFontMap, GLib.Object {
                [Version (since = "1.0")]
-               public static void clear_glyph_cache (CoglPango.FontMap font_map);
-               public static Pango.Context create_context (CoglPango.FontMap font_map);
+               public void clear_glyph_cache ();
+               public Pango.Context create_context ();
                [Version (since = "1.0")]
-               public static unowned Pango.Renderer get_renderer (CoglPango.FontMap font_map);
+               public unowned Pango.Renderer get_renderer ();
                [Version (since = "1.0")]
-               public static Cogl.Bool get_use_mipmapping (CoglPango.FontMap font_map);
+               public Cogl.Bool get_use_mipmapping ();
                [Version (since = "1.14")]
                public static Pango.FontMap @new ();
                [Version (since = "1.14")]
-               public static void set_resolution (CoglPango.FontMap font_map, double dpi);
+               public void set_resolution (double dpi);
                [Version (since = "1.0")]
-               public static void set_use_mipmapping (CoglPango.FontMap font_map, Cogl.Bool value);
+               public void set_use_mipmapping (Cogl.Bool value);
        }
        [CCode (cheader_filename = "cogl-pango/cogl-pango.h")]
        [Version (since = "1.0")]
diff --git a/vapi/gobject-introspection-1.0.vapi b/vapi/gobject-introspection-1.0.vapi
index 9116812..e23575c 100644
--- a/vapi/gobject-introspection-1.0.vapi
+++ b/vapi/gobject-introspection-1.0.vapi
@@ -6,19 +6,19 @@ namespace GI {
        public class ArgInfo : GI.BaseInfo {
                [CCode (has_construct_function = false)]
                protected ArgInfo ();
-               public static int get_closure (GI.ArgInfo info);
-               public static int get_destroy (GI.ArgInfo info);
-               public static GI.Direction get_direction (GI.ArgInfo info);
-               public static GI.Transfer get_ownership_transfer (GI.ArgInfo info);
-               public static GI.ScopeType get_scope (GI.ArgInfo info);
-               public static GI.TypeInfo get_type (GI.ArgInfo info);
-               public static bool is_caller_allocates (GI.ArgInfo info);
-               public static bool is_optional (GI.ArgInfo info);
-               public static bool is_return_value (GI.ArgInfo info);
+               public int get_closure ();
+               public int get_destroy ();
+               public GI.Direction get_direction ();
+               public GI.Transfer get_ownership_transfer ();
+               public GI.ScopeType get_scope ();
+               public GI.TypeInfo get_type ();
+               public bool is_caller_allocates ();
+               public bool is_optional ();
+               public bool is_return_value ();
                [Version (since = "1.29.0")]
-               public static bool is_skip (GI.ArgInfo info);
-               public static void load_type (GI.ArgInfo info, out unowned GI.TypeInfo type);
-               public static bool may_be_null (GI.ArgInfo info);
+               public bool is_skip ();
+               public void load_type (out unowned GI.TypeInfo type);
+               public bool may_be_null ();
        }
        [CCode (cheader_filename = "girepository.h", copy_function = "g_boxed_copy", free_function = 
"g_boxed_free", lower_case_csuffix = "base_info_gtype", type_id = "g_base_info_gtype_get_type ()")]
        [Compact]
@@ -47,21 +47,21 @@ namespace GI {
                [CCode (has_construct_function = false)]
                protected CallableInfo ();
                [Version (since = "1.34")]
-               public static bool can_throw_gerror (GI.CallableInfo info);
-               public static GI.ArgInfo get_arg (GI.CallableInfo info, int n);
-               public static GI.Transfer get_caller_owns (GI.CallableInfo info);
-               public static GI.Transfer get_instance_ownership_transfer (GI.CallableInfo info);
-               public static int get_n_args (GI.CallableInfo info);
-               public static unowned string get_return_attribute (GI.CallableInfo info, string name);
-               public static GI.TypeInfo get_return_type (GI.CallableInfo info);
-               public static bool invoke (GI.CallableInfo info, void* function, GI.Argument in_args, int 
n_in_args, GI.Argument out_args, int n_out_args, GI.Argument return_value, bool is_method, bool @throws) 
throws GLib.Error;
+               public bool can_throw_gerror ();
+               public GI.ArgInfo get_arg (int n);
+               public GI.Transfer get_caller_owns ();
+               public GI.Transfer get_instance_ownership_transfer ();
+               public int get_n_args ();
+               public unowned string get_return_attribute (string name);
+               public GI.TypeInfo get_return_type ();
+               public bool invoke (void* function, GI.Argument in_args, int n_in_args, GI.Argument out_args, 
int n_out_args, GI.Argument return_value, bool is_method, bool @throws) throws GLib.Error;
                [Version (since = "1.34")]
-               public static bool is_method (GI.CallableInfo info);
-               public static bool iterate_return_attributes (GI.CallableInfo info, ref GI.AttributeIter 
iterator, out unowned string name, out unowned string value);
-               public static void load_arg (GI.CallableInfo info, int n, out unowned GI.ArgInfo arg);
-               public static void load_return_type (GI.CallableInfo info, out unowned GI.TypeInfo type);
-               public static bool may_return_null (GI.CallableInfo info);
-               public static bool skip_return (GI.CallableInfo info);
+               public bool is_method ();
+               public bool iterate_return_attributes (ref GI.AttributeIter iterator, out unowned string 
name, out unowned string value);
+               public void load_arg (int n, out unowned GI.ArgInfo arg);
+               public void load_return_type (out unowned GI.TypeInfo type);
+               public bool may_return_null ();
+               public bool skip_return ();
        }
        [CCode (cheader_filename = "girepository.h")]
        public class CallbackInfo : GI.BaseInfo {
@@ -72,111 +72,111 @@ namespace GI {
        public class ConstantInfo : GI.BaseInfo {
                [CCode (has_construct_function = false)]
                protected ConstantInfo ();
-               public static GI.TypeInfo get_type (GI.ConstantInfo info);
+               public GI.TypeInfo get_type ();
        }
        [CCode (cheader_filename = "girepository.h")]
        public class EnumInfo : GI.BaseInfo {
                [CCode (has_construct_function = false)]
                protected EnumInfo ();
                [Version (since = "1.29.17")]
-               public static unowned string get_error_domain (GI.EnumInfo info);
+               public unowned string get_error_domain ();
                [Version (since = "1.29.17")]
-               public static GI.FunctionInfo get_method (GI.EnumInfo info, int n);
+               public GI.FunctionInfo get_method (int n);
                [Version (since = "1.29.17")]
-               public static int get_n_methods (GI.EnumInfo info);
-               public static int get_n_values (GI.EnumInfo info);
-               public static GI.TypeTag get_storage_type (GI.EnumInfo info);
-               public static GI.ValueInfo get_value (GI.EnumInfo info, int n);
+               public int get_n_methods ();
+               public int get_n_values ();
+               public GI.TypeTag get_storage_type ();
+               public GI.ValueInfo get_value (int n);
        }
        [CCode (cheader_filename = "girepository.h")]
        public class FieldInfo : GI.BaseInfo {
                [CCode (has_construct_function = false)]
                protected FieldInfo ();
-               public static GI.FieldInfoFlags get_flags (GI.FieldInfo info);
-               public static int get_offset (GI.FieldInfo info);
-               public static int get_size (GI.FieldInfo info);
-               public static GI.TypeInfo get_type (GI.FieldInfo info);
+               public GI.FieldInfoFlags get_flags ();
+               public int get_offset ();
+               public int get_size ();
+               public GI.TypeInfo get_type ();
        }
        [CCode (cheader_filename = "girepository.h")]
        public class FunctionInfo : GI.BaseInfo {
                [CCode (has_construct_function = false)]
                protected FunctionInfo ();
-               public static GI.FunctionInfoFlags get_flags (GI.FunctionInfo info);
-               public static GI.PropertyInfo get_property (GI.FunctionInfo info);
-               public static unowned string get_symbol (GI.FunctionInfo info);
-               public static GI.VFuncInfo get_vfunc (GI.FunctionInfo info);
+               public GI.FunctionInfoFlags get_flags ();
+               public GI.PropertyInfo get_property ();
+               public unowned string get_symbol ();
+               public GI.VFuncInfo get_vfunc ();
        }
        [CCode (cheader_filename = "girepository.h")]
        public class InterfaceInfo : GI.BaseInfo {
                [CCode (has_construct_function = false)]
                protected InterfaceInfo ();
-               public static GI.FunctionInfo find_method (GI.InterfaceInfo info, string name);
+               public GI.FunctionInfo find_method (string name);
                [Version (since = "1.34")]
-               public static GI.SignalInfo find_signal (GI.InterfaceInfo info, string name);
-               public static GI.VFuncInfo find_vfunc (GI.InterfaceInfo info, string name);
-               public static GI.ConstantInfo get_constant (GI.InterfaceInfo info, int n);
-               public static GI.StructInfo get_iface_struct (GI.InterfaceInfo info);
-               public static GI.FunctionInfo get_method (GI.InterfaceInfo info, int n);
-               public static int get_n_constants (GI.InterfaceInfo info);
-               public static int get_n_methods (GI.InterfaceInfo info);
-               public static int get_n_prerequisites (GI.InterfaceInfo info);
-               public static int get_n_properties (GI.InterfaceInfo info);
-               public static int get_n_signals (GI.InterfaceInfo info);
-               public static int get_n_vfuncs (GI.InterfaceInfo info);
-               public static GI.BaseInfo get_prerequisite (GI.InterfaceInfo info, int n);
-               public static GI.PropertyInfo get_property (GI.InterfaceInfo info, int n);
-               public static GI.SignalInfo get_signal (GI.InterfaceInfo info, int n);
-               public static GI.VFuncInfo get_vfunc (GI.InterfaceInfo info, int n);
+               public GI.SignalInfo find_signal (string name);
+               public GI.VFuncInfo find_vfunc (string name);
+               public GI.ConstantInfo get_constant (int n);
+               public GI.StructInfo get_iface_struct ();
+               public GI.FunctionInfo get_method (int n);
+               public int get_n_constants ();
+               public int get_n_methods ();
+               public int get_n_prerequisites ();
+               public int get_n_properties ();
+               public int get_n_signals ();
+               public int get_n_vfuncs ();
+               public GI.BaseInfo get_prerequisite (int n);
+               public GI.PropertyInfo get_property (int n);
+               public GI.SignalInfo get_signal (int n);
+               public GI.VFuncInfo get_vfunc (int n);
        }
        [CCode (cheader_filename = "girepository.h")]
        public class ObjectInfo : GI.BaseInfo {
                [CCode (has_construct_function = false)]
                protected ObjectInfo ();
-               public static GI.FunctionInfo find_method (GI.ObjectInfo info, string name);
-               public static GI.FunctionInfo find_method_using_interfaces (GI.ObjectInfo info, string name, 
out GI.ObjectInfo implementor);
-               public static GI.SignalInfo find_signal (GI.ObjectInfo info, string name);
-               public static GI.VFuncInfo find_vfunc (GI.ObjectInfo info, string name);
-               public static GI.VFuncInfo find_vfunc_using_interfaces (GI.ObjectInfo info, string name, out 
GI.ObjectInfo implementor);
-               public static bool get_abstract (GI.ObjectInfo info);
-               public static GI.StructInfo get_class_struct (GI.ObjectInfo info);
-               public static GI.ConstantInfo get_constant (GI.ObjectInfo info, int n);
-               public static GI.FieldInfo get_field (GI.ObjectInfo info, int n);
-               public static bool get_fundamental (GI.ObjectInfo info);
-               public static unowned string get_get_value_function (GI.ObjectInfo info);
-               public static GI.InterfaceInfo get_interface (GI.ObjectInfo info, int n);
-               public static GI.FunctionInfo get_method (GI.ObjectInfo info, int n);
-               public static int get_n_constants (GI.ObjectInfo info);
-               public static int get_n_fields (GI.ObjectInfo info);
-               public static int get_n_interfaces (GI.ObjectInfo info);
-               public static int get_n_methods (GI.ObjectInfo info);
-               public static int get_n_properties (GI.ObjectInfo info);
-               public static int get_n_signals (GI.ObjectInfo info);
-               public static int get_n_vfuncs (GI.ObjectInfo info);
-               public static GI.ObjectInfo get_parent (GI.ObjectInfo info);
-               public static GI.PropertyInfo get_property (GI.ObjectInfo info, int n);
-               public static unowned string get_ref_function (GI.ObjectInfo info);
-               public static unowned string get_set_value_function (GI.ObjectInfo info);
-               public static GI.SignalInfo get_signal (GI.ObjectInfo info, int n);
-               public static unowned string get_type_init (GI.ObjectInfo info);
-               public static unowned string get_type_name (GI.ObjectInfo info);
-               public static unowned string get_unref_function (GI.ObjectInfo info);
-               public static GI.VFuncInfo get_vfunc (GI.ObjectInfo info, int n);
+               public GI.FunctionInfo find_method (string name);
+               public GI.FunctionInfo find_method_using_interfaces (string name, out GI.ObjectInfo 
implementor);
+               public GI.SignalInfo find_signal (string name);
+               public GI.VFuncInfo find_vfunc (string name);
+               public GI.VFuncInfo find_vfunc_using_interfaces (string name, out GI.ObjectInfo implementor);
+               public bool get_abstract ();
+               public GI.StructInfo get_class_struct ();
+               public GI.ConstantInfo get_constant (int n);
+               public GI.FieldInfo get_field (int n);
+               public bool get_fundamental ();
+               public unowned string get_get_value_function ();
+               public GI.InterfaceInfo get_interface (int n);
+               public GI.FunctionInfo get_method (int n);
+               public int get_n_constants ();
+               public int get_n_fields ();
+               public int get_n_interfaces ();
+               public int get_n_methods ();
+               public int get_n_properties ();
+               public int get_n_signals ();
+               public int get_n_vfuncs ();
+               public GI.ObjectInfo get_parent ();
+               public GI.PropertyInfo get_property (int n);
+               public unowned string get_ref_function ();
+               public unowned string get_set_value_function ();
+               public GI.SignalInfo get_signal (int n);
+               public unowned string get_type_init ();
+               public unowned string get_type_name ();
+               public unowned string get_unref_function ();
+               public GI.VFuncInfo get_vfunc (int n);
        }
        [CCode (cheader_filename = "girepository.h")]
        public class PropertyInfo : GI.BaseInfo {
                [CCode (has_construct_function = false)]
                protected PropertyInfo ();
-               public static GLib.ParamFlags get_flags (GI.PropertyInfo info);
-               public static GI.Transfer get_ownership_transfer (GI.PropertyInfo info);
-               public static GI.TypeInfo get_type (GI.PropertyInfo info);
+               public GLib.ParamFlags get_flags ();
+               public GI.Transfer get_ownership_transfer ();
+               public GI.TypeInfo get_type ();
        }
        [CCode (cheader_filename = "girepository.h")]
        public class RegisteredTypeInfo : GI.BaseInfo {
                [CCode (has_construct_function = false)]
                protected RegisteredTypeInfo ();
-               public static GLib.Type get_g_type (GI.RegisteredTypeInfo info);
-               public static unowned string get_type_init (GI.RegisteredTypeInfo info);
-               public static unowned string get_type_name (GI.RegisteredTypeInfo info);
+               public GLib.Type get_g_type ();
+               public unowned string get_type_init ();
+               public unowned string get_type_name ();
        }
        [CCode (cheader_filename = "girepository.h", lower_case_csuffix = "irepository", type_id = 
"g_irepository_get_type ()")]
        public class Repository : GLib.Object {
@@ -215,37 +215,37 @@ namespace GI {
        public class SignalInfo : GI.BaseInfo {
                [CCode (has_construct_function = false)]
                protected SignalInfo ();
-               public static GI.VFuncInfo get_class_closure (GI.SignalInfo info);
-               public static GLib.SignalFlags get_flags (GI.SignalInfo info);
-               public static bool true_stops_emit (GI.SignalInfo info);
+               public GI.VFuncInfo get_class_closure ();
+               public GLib.SignalFlags get_flags ();
+               public bool true_stops_emit ();
        }
        [CCode (cheader_filename = "girepository.h")]
        public class StructInfo : GI.BaseInfo {
                [CCode (has_construct_function = false)]
                protected StructInfo ();
-               public static GI.FieldInfo find_field (GI.StructInfo info, string name);
-               public static GI.FunctionInfo find_method (GI.StructInfo info, string name);
-               public static size_t get_alignment (GI.StructInfo info);
-               public static GI.FieldInfo get_field (GI.StructInfo info, int n);
-               public static GI.FunctionInfo get_method (GI.StructInfo info, int n);
-               public static int get_n_fields (GI.StructInfo info);
-               public static int get_n_methods (GI.StructInfo info);
-               public static size_t get_size (GI.StructInfo info);
-               public static bool is_foreign (GI.StructInfo info);
-               public static bool is_gtype_struct (GI.StructInfo info);
+               public GI.FieldInfo find_field (string name);
+               public GI.FunctionInfo find_method (string name);
+               public size_t get_alignment ();
+               public GI.FieldInfo get_field (int n);
+               public GI.FunctionInfo get_method (int n);
+               public int get_n_fields ();
+               public int get_n_methods ();
+               public size_t get_size ();
+               public bool is_foreign ();
+               public bool is_gtype_struct ();
        }
        [CCode (cheader_filename = "girepository.h")]
        public class TypeInfo : GI.BaseInfo {
                [CCode (has_construct_function = false)]
                protected TypeInfo ();
-               public static int get_array_fixed_size (GI.TypeInfo info);
-               public static int get_array_length (GI.TypeInfo info);
-               public static GI.ArrayType get_array_type (GI.TypeInfo info);
-               public static GI.BaseInfo get_interface (GI.TypeInfo info);
-               public static GI.TypeInfo get_param_type (GI.TypeInfo info, int n);
-               public static GI.TypeTag get_tag (GI.TypeInfo info);
-               public static bool is_pointer (GI.TypeInfo info);
-               public static bool is_zero_terminated (GI.TypeInfo info);
+               public int get_array_fixed_size ();
+               public int get_array_length ();
+               public GI.ArrayType get_array_type ();
+               public GI.BaseInfo get_interface ();
+               public GI.TypeInfo get_param_type (int n);
+               public GI.TypeTag get_tag ();
+               public bool is_pointer ();
+               public bool is_zero_terminated ();
        }
        [CCode (cheader_filename = "girepository.h", has_type_id = false)]
        [Compact]
@@ -258,17 +258,17 @@ namespace GI {
        public class UnionInfo : GI.BaseInfo {
                [CCode (has_construct_function = false)]
                protected UnionInfo ();
-               public static GI.FunctionInfo find_method (GI.UnionInfo info, string name);
-               public static size_t get_alignment (GI.UnionInfo info);
-               public static GI.ConstantInfo get_discriminator (GI.UnionInfo info, int n);
-               public static int get_discriminator_offset (GI.UnionInfo info);
-               public static GI.TypeInfo get_discriminator_type (GI.UnionInfo info);
-               public static GI.FieldInfo get_field (GI.UnionInfo info, int n);
-               public static GI.FunctionInfo get_method (GI.UnionInfo info, int n);
-               public static int get_n_fields (GI.UnionInfo info);
-               public static int get_n_methods (GI.UnionInfo info);
-               public static size_t get_size (GI.UnionInfo info);
-               public static bool is_discriminated (GI.UnionInfo info);
+               public GI.FunctionInfo find_method (string name);
+               public size_t get_alignment ();
+               public GI.ConstantInfo get_discriminator (int n);
+               public int get_discriminator_offset ();
+               public GI.TypeInfo get_discriminator_type ();
+               public GI.FieldInfo get_field (int n);
+               public GI.FunctionInfo get_method (int n);
+               public int get_n_fields ();
+               public int get_n_methods ();
+               public size_t get_size ();
+               public bool is_discriminated ();
        }
        [CCode (cheader_filename = "girepository.h", has_type_id = false)]
        [Compact]
@@ -278,17 +278,17 @@ namespace GI {
        public class VFuncInfo : GI.BaseInfo {
                [CCode (has_construct_function = false)]
                protected VFuncInfo ();
-               public static void* get_address (GI.VFuncInfo info, GLib.Type implementor_gtype) throws 
GLib.Error;
-               public static GI.VFuncInfoFlags get_flags (GI.VFuncInfo info);
-               public static GI.FunctionInfo get_invoker (GI.VFuncInfo info);
-               public static int get_offset (GI.VFuncInfo info);
-               public static GI.SignalInfo get_signal (GI.VFuncInfo info);
+               public void* get_address (GLib.Type implementor_gtype) throws GLib.Error;
+               public GI.VFuncInfoFlags get_flags ();
+               public GI.FunctionInfo get_invoker ();
+               public int get_offset ();
+               public GI.SignalInfo get_signal ();
        }
        [CCode (cheader_filename = "girepository.h")]
        public class ValueInfo : GI.BaseInfo {
                [CCode (has_construct_function = false)]
                protected ValueInfo ();
-               public static int64 get_value (GI.ValueInfo info);
+               public int64 get_value ();
        }
        [CCode (cheader_filename = "girepository.h")]
        public struct Argument {
@@ -368,7 +368,7 @@ namespace GI {
                ARG,
                TYPE,
                UNRESOLVED;
-               public static unowned string to_string (GI.InfoType type);
+               public unowned string to_string ();
        }
        [CCode (cheader_filename = "girepository.h", cprefix = "G_IREPOSITORY_ERROR_", has_type_id = false)]
        public enum RepositoryError {
@@ -420,7 +420,7 @@ namespace GI {
                GHASH,
                ERROR,
                UNICHAR;
-               public static unowned string to_string (GI.TypeTag type);
+               public unowned string to_string ();
        }
        [CCode (cheader_filename = "girepository.h", cprefix = "GI_VFUNC_", has_type_id = false)]
        [Flags]
diff --git a/vapi/gstreamer-1.0.vapi b/vapi/gstreamer-1.0.vapi
index 1468272..4dfbcf6 100644
--- a/vapi/gstreamer-1.0.vapi
+++ b/vapi/gstreamer-1.0.vapi
@@ -3021,9 +3021,9 @@ namespace Gst {
                CUSTOM_DOWNSTREAM_STICKY,
                CUSTOM_BOTH,
                CUSTOM_BOTH_OOB;
-               public static Gst.EventTypeFlags get_flags (Gst.EventType type);
-               public static unowned string get_name (Gst.EventType type);
-               public static GLib.Quark to_quark (Gst.EventType type);
+               public Gst.EventTypeFlags get_flags ();
+               public unowned string get_name ();
+               public GLib.Quark to_quark ();
        }
        [CCode (cheader_filename = "gst/gst.h", cprefix = "GST_EVENT_TYPE_", type_id = 
"gst_event_type_flags_get_type ()")]
        [Flags]
@@ -3063,11 +3063,11 @@ namespace Gst {
                [CCode (cname = "gst_formats_contains")]
                public static bool contains ([CCode (array_length = false, array_null_terminated = true)] 
Gst.Format[] formats, Gst.Format format);
                public static Gst.Format get_by_nick (string nick);
-               public static unowned Gst.FormatDefinition? get_details (Gst.Format format);
-               public static unowned string? get_name (Gst.Format format);
+               public unowned Gst.FormatDefinition? get_details ();
+               public unowned string? get_name ();
                public static Gst.Iterator iterate_definitions ();
                public static Gst.Format register (string nick, string description);
-               public static GLib.Quark to_quark (Gst.Format format);
+               public GLib.Quark to_quark ();
        }
        [CCode (cheader_filename = "gst/gst.h", cprefix = "GST_ITERATOR_ITEM_", type_id = 
"gst_iterator_item_get_type ()")]
        public enum IteratorItem {
@@ -3151,8 +3151,8 @@ namespace Gst {
                STREAMS_SELECTED,
                REDIRECT,
                ANY;
-               public static unowned string get_name (Gst.MessageType type);
-               public static GLib.Quark to_quark (Gst.MessageType type);
+               public unowned string get_name ();
+               public GLib.Quark to_quark ();
        }
        [CCode (cheader_filename = "gst/gst.h", cprefix = "GST_META_FLAG_", type_id = 
"gst_meta_flags_get_type ()")]
        [Flags]
@@ -3225,7 +3225,7 @@ namespace Gst {
                NONE,
                PUSH,
                PULL;
-               public static unowned string get_name (Gst.PadMode mode);
+               public unowned string get_name ();
        }
        [CCode (cheader_filename = "gst/gst.h", cprefix = "GST_PAD_", type_id = "gst_pad_presence_get_type 
()")]
        public enum PadPresence {
@@ -3336,9 +3336,9 @@ namespace Gst {
                CAPS,
                DRAIN,
                CONTEXT;
-               public static Gst.QueryTypeFlags get_flags (Gst.QueryType type);
-               public static unowned string get_name (Gst.QueryType type);
-               public static GLib.Quark to_quark (Gst.QueryType type);
+               public Gst.QueryTypeFlags get_flags ();
+               public unowned string get_name ();
+               public GLib.Quark to_quark ();
        }
        [CCode (cheader_filename = "gst/gst.h", cprefix = "GST_QUERY_TYPE_", type_id = 
"gst_query_type_flags_get_type ()")]
        [Flags]
@@ -3452,7 +3452,7 @@ namespace Gst {
                CONTAINER,
                TEXT;
                [Version (since = "1.10")]
-               public static unowned string get_name (Gst.StreamType stype);
+               public unowned string get_name ();
        }
        [CCode (cheader_filename = "gst/gst.h", cprefix = "GST_STRUCTURE_CHANGE_TYPE_PAD_", type_id = 
"gst_structure_change_type_get_type ()")]
        public enum StructureChangeType {
@@ -3498,7 +3498,7 @@ namespace Gst {
                TITLE,
                TRACK,
                CHAPTER;
-               public static unowned string get_nick (Gst.TocEntryType type);
+               public unowned string get_nick ();
        }
        [CCode (cheader_filename = "gst/gst.h", cprefix = "GST_TOC_LOOP_", type_id = 
"gst_toc_loop_type_get_type ()")]
        [Version (since = "1.4")]
diff --git a/vapi/gstreamer-player-1.0.vapi b/vapi/gstreamer-player-1.0.vapi
index 6ba8440..6e4f784 100644
--- a/vapi/gstreamer-player-1.0.vapi
+++ b/vapi/gstreamer-player-1.0.vapi
@@ -188,7 +188,7 @@ namespace Gst {
                BRIGHTNESS,
                SATURATION,
                CONTRAST;
-               public static unowned string get_name (Gst.PlayerColorBalanceType type);
+               public unowned string get_name ();
        }
        [CCode (cheader_filename = "gst/player/player.h", cprefix = "GST_PLAYER_STATE_", type_id = 
"gst_player_state_get_type ()")]
        public enum PlayerState {
@@ -196,12 +196,12 @@ namespace Gst {
                BUFFERING,
                PAUSED,
                PLAYING;
-               public static unowned string get_name (Gst.PlayerState state);
+               public unowned string get_name ();
        }
        [CCode (cheader_filename = "gst/player/player.h", cprefix = "GST_PLAYER_ERROR_")]
        public errordomain PlayerError {
                FAILED;
-               public static unowned string get_name (Gst.PlayerError error);
+               public unowned string get_name ();
                public static GLib.Quark quark ();
        }
        [CCode (cheader_filename = "gst/player/player.h", has_target = false)]
diff --git a/vapi/packagekit-glib2.vapi b/vapi/packagekit-glib2.vapi
index 7c8fc7d..d8b0f3e 100644
--- a/vapi/packagekit-glib2.vapi
+++ b/vapi/packagekit-glib2.vapi
@@ -1282,7 +1282,7 @@ namespace Pk {
        public struct Bitfield : uint64 {
                [CCode (sentinel = "-1")]
                [Version (since = "0.5.2")]
-               public static int contain_priority (Pk.Bitfield values, int value, ...);
+               public int contain_priority (int value, ...);
                [CCode (sentinel = "-1")]
                [Version (since = "0.5.2")]
                public static Pk.Bitfield from_enums (int value, ...);
@@ -1304,7 +1304,7 @@ namespace Pk {
                [Version (since = "0.5.0")]
                public static Pk.Authorize type_enum_from_string (string authorize_type);
                [Version (since = "0.5.0")]
-               public static unowned string type_enum_to_string (Pk.Authorize authorize_type);
+               public unowned string type_enum_to_string ();
        }
        [CCode (cheader_filename = "packagekit-glib2/packagekit.h", cprefix = "PK_DISTRO_UPGRADE_ENUM_", 
type_id = "pk_distro_upgrade_enum_get_type ()")]
        public enum DistroUpgradeEnum {
@@ -1315,7 +1315,7 @@ namespace Pk {
                [Version (since = "0.5.0")]
                public static Pk.DistroUpgradeEnum from_string (string upgrade);
                [Version (since = "0.5.0")]
-               public static unowned string to_string (Pk.DistroUpgradeEnum upgrade);
+               public unowned string to_string ();
        }
        [CCode (cheader_filename = "packagekit-glib2/packagekit.h", cprefix = "PK_ERROR_ENUM_", type_id = 
"pk_error_enum_get_type ()")]
        public enum ErrorEnum {
@@ -1392,7 +1392,7 @@ namespace Pk {
                [Version (since = "0.5.0")]
                public static Pk.ErrorEnum from_string (string code);
                [Version (since = "0.5.0")]
-               public static unowned string to_string (Pk.ErrorEnum code);
+               public unowned string to_string ();
        }
        [CCode (cheader_filename = "packagekit-glib2/packagekit.h", cname = "PkExitEnum", cprefix = 
"PK_EXIT_ENUM_", type_id = "pk_exit_enum_get_type ()")]
        [GIR (name = "ExitEnum")]
@@ -1413,7 +1413,7 @@ namespace Pk {
                [Version (since = "0.5.0")]
                public static Pk.Exit enum_from_string (string exit);
                [Version (since = "0.5.0")]
-               public static unowned string enum_to_string (Pk.Exit exit);
+               public unowned string enum_to_string ();
        }
        [CCode (cheader_filename = "packagekit-glib2/packagekit.h", cname = "PkFilterEnum", cprefix = 
"PK_FILTER_ENUM_", type_id = "pk_filter_enum_get_type ()")]
        [GIR (name = "FilterEnum")]
@@ -1454,7 +1454,7 @@ namespace Pk {
                [Version (since = "0.5.0")]
                public static Pk.Filter enum_from_string (string filter);
                [Version (since = "0.5.0")]
-               public static unowned string enum_to_string (Pk.Filter filter);
+               public unowned string enum_to_string ();
        }
        [CCode (cheader_filename = "packagekit-glib2/packagekit.h", cname = "PkGroupEnum", cprefix = 
"PK_GROUP_ENUM_", type_id = "pk_group_enum_get_type ()")]
        [GIR (name = "GroupEnum")]
@@ -1501,7 +1501,7 @@ namespace Pk {
                [Version (since = "0.5.0")]
                public static Pk.Group enum_from_string (string group);
                [Version (since = "0.5.0")]
-               public static unowned string enum_to_string (Pk.Group group);
+               public unowned string enum_to_string ();
        }
        [CCode (cheader_filename = "packagekit-glib2/packagekit.h", cname = "PkInfoEnum", cprefix = 
"PK_INFO_ENUM_", type_id = "pk_info_enum_get_type ()")]
        [GIR (name = "InfoEnum")]
@@ -1536,11 +1536,11 @@ namespace Pk {
                [Version (since = "0.5.0")]
                public static Pk.Info enum_from_string (string info);
                [Version (since = "0.7.2")]
-               public static unowned string enum_to_localised_past (Pk.Info info);
+               public unowned string enum_to_localised_past ();
                [Version (since = "0.7.2")]
-               public static unowned string enum_to_localised_present (Pk.Info info);
+               public unowned string enum_to_localised_present ();
                [Version (since = "0.5.0")]
-               public static unowned string enum_to_string (Pk.Info info);
+               public unowned string enum_to_string ();
        }
        [CCode (cheader_filename = "packagekit-glib2/packagekit.h", cname = "PkMediaTypeEnum", cprefix = 
"PK_MEDIA_TYPE_ENUM_", type_id = "pk_media_type_enum_get_type ()")]
        [GIR (name = "MediaTypeEnum")]
@@ -1553,7 +1553,7 @@ namespace Pk {
                [Version (since = "0.5.0")]
                public static Pk.MediaType enum_from_string (string media_type);
                [Version (since = "0.5.0")]
-               public static unowned string enum_to_string (Pk.MediaType media_type);
+               public unowned string enum_to_string ();
        }
        [CCode (cheader_filename = "packagekit-glib2/packagekit.h", cname = "PkNetworkEnum", cprefix = 
"PK_NETWORK_ENUM_", type_id = "pk_network_enum_get_type ()")]
        [GIR (name = "NetworkEnum")]
@@ -1568,7 +1568,7 @@ namespace Pk {
                [Version (since = "0.5.0")]
                public static Pk.Network enum_from_string (string network);
                [Version (since = "0.5.0")]
-               public static unowned string enum_to_string (Pk.Network network);
+               public unowned string enum_to_string ();
        }
        [CCode (cheader_filename = "packagekit-glib2/packagekit.h", cprefix = "PK_OFFLINE_ACTION_", type_id = 
"pk_offline_action_get_type ()")]
        public enum OfflineAction {
@@ -1580,7 +1580,7 @@ namespace Pk {
                [Version (since = "0.9.6")]
                public static Pk.OfflineAction from_string (string action);
                [Version (since = "0.9.6")]
-               public static unowned string to_string (Pk.OfflineAction action);
+               public unowned string to_string ();
        }
        [CCode (cheader_filename = "packagekit-glib2/packagekit.h", cprefix = "PK_PACKAGE_SACK_SORT_TYPE_", 
type_id = "pk_package_sack_sort_type_get_type ()")]
        public enum PackageSackSortType {
@@ -1623,7 +1623,7 @@ namespace Pk {
                [Version (since = "0.5.0")]
                public static Pk.Restart enum_from_string (string restart);
                [Version (since = "0.5.0")]
-               public static unowned string enum_to_string (Pk.Restart restart);
+               public unowned string enum_to_string ();
        }
        [CCode (cheader_filename = "packagekit-glib2/packagekit.h", cname = "PkRoleEnum", cprefix = 
"PK_ROLE_ENUM_", type_id = "pk_role_enum_get_type ()")]
        [GIR (name = "RoleEnum")]
@@ -1670,9 +1670,9 @@ namespace Pk {
                [Version (since = "0.5.0")]
                public static Pk.Role enum_from_string (string role);
                [Version (since = "0.7.2")]
-               public static unowned string enum_to_localised_present (Pk.Role role);
+               public unowned string enum_to_localised_present ();
                [Version (since = "0.5.0")]
-               public static unowned string enum_to_string (Pk.Role role);
+               public unowned string enum_to_string ();
        }
        [CCode (cheader_filename = "packagekit-glib2/packagekit.h", cname = "PkSigTypeEnum", cprefix = 
"PK_SIGTYPE_ENUM_", type_id = "pk_sig_type_enum_get_type ()")]
        [GIR (name = "SigTypeEnum")]
@@ -1682,7 +1682,7 @@ namespace Pk {
                LAST;
                public static Pk.SigType enum_from_string (string sig_type);
                [Version (since = "0.5.0")]
-               public static unowned string enum_to_string (Pk.SigType sig_type);
+               public unowned string enum_to_string ();
        }
        [CCode (cheader_filename = "packagekit-glib2/packagekit.h", cname = "PkStatusEnum", cprefix = 
"PK_STATUS_ENUM_", type_id = "pk_status_enum_get_type ()")]
        [GIR (name = "StatusEnum")]
@@ -1726,9 +1726,9 @@ namespace Pk {
                LAST;
                [Version (since = "0.5.0")]
                public static Pk.Status enum_from_string (string status);
-               public static unowned string enum_to_localised_text (Pk.Status status);
+               public unowned string enum_to_localised_text ();
                [Version (since = "0.5.0")]
-               public static unowned string enum_to_string (Pk.Status status);
+               public unowned string enum_to_string ();
        }
        [CCode (cheader_filename = "packagekit-glib2/packagekit.h", cname = "PkTransactionFlagEnum", cprefix 
= "PK_TRANSACTION_FLAG_ENUM_", type_id = "pk_transaction_flag_enum_get_type ()")]
        [GIR (name = "TransactionFlagEnum")]
@@ -1748,7 +1748,7 @@ namespace Pk {
                [Version (since = "0.8.1")]
                public static Pk.TransactionFlag enum_from_string (string transaction_flag);
                [Version (since = "0.8.1")]
-               public static unowned string enum_to_string (Pk.TransactionFlag transaction_flag);
+               public unowned string enum_to_string ();
        }
        [CCode (cheader_filename = "packagekit-glib2/packagekit.h", cname = "PkUpdateStateEnum", cprefix = 
"PK_UPDATE_STATE_ENUM_", type_id = "pk_update_state_enum_get_type ()")]
        [GIR (name = "UpdateStateEnum")]
@@ -1761,7 +1761,7 @@ namespace Pk {
                [Version (since = "0.5.0")]
                public static Pk.UpdateState enum_from_string (string update_state);
                [Version (since = "0.5.0")]
-               public static unowned string enum_to_string (Pk.UpdateState update_state);
+               public unowned string enum_to_string ();
        }
        [CCode (cheader_filename = "packagekit-glib2/packagekit.h", cname = "PkUpgradeKindEnum", cprefix = 
"PK_UPGRADE_KIND_ENUM_", type_id = "pk_upgrade_kind_enum_get_type ()")]
        [GIR (name = "UpgradeKindEnum")]
@@ -1774,7 +1774,7 @@ namespace Pk {
                [Version (since = "0.6.11")]
                public static Pk.UpgradeKind enum_from_string (string upgrade_kind);
                [Version (since = "0.6.11")]
-               public static unowned string enum_to_string (Pk.UpgradeKind upgrade_kind);
+               public unowned string enum_to_string ();
        }
        [CCode (cheader_filename = "packagekit-glib2/packagekit.h", cprefix = "PK_CLIENT_ERROR_")]
        public errordomain ClientError {
diff --git a/vapi/pango.vapi b/vapi/pango.vapi
index 48d90b5..a6330bc 100644
--- a/vapi/pango.vapi
+++ b/vapi/pango.vapi
@@ -775,7 +775,7 @@ namespace Pango {
                FOREGROUND_ALPHA,
                BACKGROUND_ALPHA;
                [Version (since = "1.22")]
-               public static unowned string? get_name (Pango.AttrType type);
+               public unowned string? get_name ();
                public static Pango.AttrType register (string name);
        }
        [CCode (cheader_filename = "pango/pango.h", cprefix = "PANGO_BIDI_TYPE_", type_id = 
"pango_bidi_type_get_type ()")]
@@ -849,7 +849,7 @@ namespace Pango {
                public static Pango.Gravity get_for_script (Pango.Script script, Pango.Gravity base_gravity, 
Pango.GravityHint hint);
                [Version (since = "1.26")]
                public static Pango.Gravity get_for_script_and_width (Pango.Script script, bool wide, 
Pango.Gravity base_gravity, Pango.GravityHint hint);
-               public static double to_rotation (Pango.Gravity gravity);
+               public double to_rotation ();
        }
        [CCode (cheader_filename = "pango/pango.h", cprefix = "PANGO_GRAVITY_HINT_", type_id = 
"pango_gravity_hint_get_type ()")]
        [Version (since = "1.16")]
@@ -989,7 +989,7 @@ namespace Pango {
                [Version (since = "1.4")]
                public static Pango.Script for_unichar (unichar ch);
                [Version (since = "1.4")]
-               public static Pango.Language? get_sample_language (Pango.Script script);
+               public Pango.Language? get_sample_language ();
        }
        [CCode (cheader_filename = "pango/pango.h", cprefix = "PANGO_STRETCH_", type_id = 
"pango_stretch_get_type ()")]
        public enum Stretch {
diff --git a/vapi/polkit-gobject-1.vapi b/vapi/polkit-gobject-1.vapi
index 5dbb3d3..f03ac4c 100644
--- a/vapi/polkit-gobject-1.vapi
+++ b/vapi/polkit-gobject-1.vapi
@@ -205,7 +205,7 @@ namespace Polkit {
                ADMINISTRATOR_AUTHENTICATION_REQUIRED_RETAINED,
                AUTHORIZED;
                public static bool from_string (string string, Polkit.ImplicitAuthorization 
out_implicit_authorization);
-               public static unowned string to_string (Polkit.ImplicitAuthorization implicit_authorization);
+               public unowned string to_string ();
        }
        [CCode (cheader_filename = "polkit/polkit.h", cprefix = "POLKIT_ERROR_")]
        public errordomain Error {



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