[vala/staging] Regenerate GIR-based bindings



commit a76f7f452f979cedd68379822c4892594f600011
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 |    4 +-
 vapi/gstreamer-1.0.vapi             |   30 ++++++++++++------------
 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, 65 insertions(+), 65 deletions(-)
---
diff --git a/vapi/atk.vapi b/vapi/atk.vapi
index fcaa457..0d3c560 100644
--- a/vapi/atk.vapi
+++ b/vapi/atk.vapi
@@ -668,7 +668,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);
        }
@@ -804,9 +804,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);
@@ -860,7 +860,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);
        }
@@ -898,9 +898,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);
        }
@@ -948,9 +948,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 20c94bc..1802786 100644
--- a/vapi/atspi-2.vapi
+++ b/vapi/atspi-2.vapi
@@ -703,7 +703,7 @@ namespace Atspi {
                DESCRIPTION_VALUE,
                FOOTNOTE,
                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 de48a2e..d256c11 100644
--- a/vapi/clutter-1.0.vapi
+++ b/vapi/clutter-1.0.vapi
@@ -8314,14 +8314,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 a56deb0..8fe3ad0 100644
--- a/vapi/gobject-introspection-1.0.vapi
+++ b/vapi/gobject-introspection-1.0.vapi
@@ -355,7 +355,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_LOAD_FLAG_", has_type_id = 
false)]
        [Flags]
@@ -400,7 +400,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 e7c4abf..bab0e9b 100644
--- a/vapi/gstreamer-1.0.vapi
+++ b/vapi/gstreamer-1.0.vapi
@@ -3112,9 +3112,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]
@@ -3154,11 +3154,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 {
@@ -3242,8 +3242,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]
@@ -3317,7 +3317,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 {
@@ -3436,9 +3436,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]
@@ -3527,7 +3527,7 @@ namespace Gst {
                PAUSED_TO_PAUSED,
                PLAYING_TO_PLAYING;
                [Version (since = "1.14")]
-               public static unowned string get_name (Gst.StateChange transition);
+               public unowned string get_name ();
        }
        [CCode (cheader_filename = "gst/gst.h", cprefix = "GST_STATE_CHANGE_", type_id = 
"gst_state_change_return_get_type ()")]
        public enum StateChangeReturn {
@@ -3564,7 +3564,7 @@ namespace Gst {
                VIDEO,
                CONTAINER,
                TEXT;
-               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 {
@@ -3610,7 +3610,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 8b8c38d..7aa8709 100644
--- a/vapi/gstreamer-player-1.0.vapi
+++ b/vapi/gstreamer-player-1.0.vapi
@@ -206,7 +206,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_THUMBNAIL_", has_type_id = 
false)]
        public enum PlayerSnapshotFormat {
@@ -224,12 +224,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 ff3ad50..3396478 100644
--- a/vapi/packagekit-glib2.vapi
+++ b/vapi/packagekit-glib2.vapi
@@ -1264,7 +1264,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, ...);
@@ -1285,7 +1285,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 {
@@ -1296,7 +1296,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 {
@@ -1373,7 +1373,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")]
@@ -1394,7 +1394,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")]
@@ -1435,7 +1435,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")]
@@ -1483,7 +1483,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")]
@@ -1518,11 +1518,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")]
@@ -1535,7 +1535,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")]
@@ -1550,7 +1550,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 {
@@ -1562,7 +1562,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 {
@@ -1605,7 +1605,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")]
@@ -1652,9 +1652,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")]
@@ -1664,7 +1664,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")]
@@ -1709,9 +1709,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")]
@@ -1731,7 +1731,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")]
@@ -1744,7 +1744,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")]
@@ -1757,7 +1757,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 11f3f8b..ae322a2 100644
--- a/vapi/pango.vapi
+++ b/vapi/pango.vapi
@@ -773,7 +773,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 ()")]
@@ -848,7 +848,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")]
@@ -988,7 +988,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]