]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gio-unix-2.0: Update to 2.55.1
authorRico Tzschichholz <ricotz@ubuntu.com>
Tue, 9 Jan 2018 07:48:58 +0000 (08:48 +0100)
committerRico Tzschichholz <ricotz@ubuntu.com>
Tue, 9 Jan 2018 07:48:58 +0000 (08:48 +0100)
vapi/gio-unix-2.0.vapi
vapi/packages/gio-unix-2.0/gio-unix-2.0.gi
vapi/packages/gio-unix-2.0/gio-unix-2.0.metadata

index 5a3a6fe52546a7422e21a1a0ea1aa319e59515c9..11178fc8543e554d83fb10c2961b3cc18b6adce0 100644 (file)
@@ -19,6 +19,7 @@ namespace GLib {
                public bool get_is_hidden ();
                [CCode (array_length = false, array_null_terminated = true)]
                public unowned string[] get_keywords ();
+               public string? get_locale_string (string key);
                public bool get_nodisplay ();
                public bool get_show_in (string desktop_env);
                public unowned string get_startup_wm_class ();
@@ -170,6 +171,10 @@ namespace GLib {
        public const string DESKTOP_APP_INFO_LOOKUP_EXTENSION_POINT_NAME;
        [CCode (cheader_filename = "gio/gunixmounts.h", cname = "g_unix_is_mount_path_system_internal")]
        public static bool is_mount_path_system_internal (string mount_path);
+       [CCode (cheader_filename = "gio/gunixmounts.h", cname = "g_unix_is_system_device_path")]
+       public static bool is_system_device_path (string device_path);
+       [CCode (cheader_filename = "gio/gunixmounts.h", cname = "g_unix_is_system_fs_type")]
+       public static bool is_system_fs_type (string fs_type);
        [CCode (cheader_filename = "gio/gunixmounts.h", cname = "g_unix_mount_points_changed_since")]
        public static bool mount_points_changed_since (uint64 time);
        [CCode (cheader_filename = "gio/gunixmounts.h", cname = "g_unix_mounts_changed_since")]
index 08923f8301017ab10ca02c243034b8413e9a47c2..e3f45725f901ce33a268131cabd82ad0086de476 100644 (file)
@@ -7,6 +7,18 @@
                                <parameter name="mount_path" type="char*"/>
                        </parameters>
                </function>
+               <function name="g_unix_is_system_device_path" symbol="g_unix_is_system_device_path">
+                       <return-type type="gboolean"/>
+                       <parameters>
+                               <parameter name="device_path" type="char*"/>
+                       </parameters>
+               </function>
+               <function name="g_unix_is_system_fs_type" symbol="g_unix_is_system_fs_type">
+                       <return-type type="gboolean"/>
+                       <parameters>
+                               <parameter name="fs_type" type="char*"/>
+                       </parameters>
+               </function>
                <function name="g_unix_mount_at" symbol="g_unix_mount_at">
                        <return-type type="GUnixMountEntry*"/>
                        <parameters>
                                        <parameter name="info" type="GDesktopAppInfo*"/>
                                </parameters>
                        </method>
+                       <method name="get_locale_string" symbol="g_desktop_app_info_get_locale_string">
+                               <return-type type="char*"/>
+                               <parameters>
+                                       <parameter name="info" type="GDesktopAppInfo*"/>
+                                       <parameter name="key" type="char*"/>
+                               </parameters>
+                       </method>
                        <method name="get_nodisplay" symbol="g_desktop_app_info_get_nodisplay">
                                <return-type type="gboolean"/>
                                <parameters>
index 1af9292bbf9258a60c196d0e8b447b4ad7a2554f..b5bf36311291b0cbc5e36aa4d779510a470fca93 100644 (file)
@@ -3,6 +3,7 @@ GDesktopAppInfo cheader_filename="gio/gdesktopappinfo.h"
 g_desktop_app_info_get_action_name transfer_ownership="1"
 g_desktop_app_info_get_implementations transfer_ownership="1" type_name="GLib.List<GLib.DesktopAppInfo>"
 g_desktop_app_info_get_keywords type_name="string[]" no_array_length="1" array_null_terminated="1"
+g_desktop_app_info_get_locale_string transfer_ownership="1" nullable="1"
 g_desktop_app_info_list_actions type_name="string[]" no_array_length="1" array_null_terminated="1"
 g_desktop_app_info_launch_uris_as_manager.uris type_name="GLib.List<string>"
 g_desktop_app_info_launch_uris_as_manager.launch_context nullable="1"
@@ -19,6 +20,8 @@ GUnixCredentialsMessage cheader_filename="gio/gunixcredentialsmessage.h"
 GUnixFDMessage cheader_filename="gio/gunixfdmessage.h"
 GUnixInputStream cheader_filename="gio/gunixinputstream.h"
 g_unix_is_mount_path_system_internal name="is_mount_path_system_internal"
+g_unix_is_system_device_path name="is_system_device_path"
+g_unix_is_system_fs_type name="is_system_fs_type"
 GUnixMountEntry hidden="1"
 g_unix_*.cancellable nullable="1" default_value="null"
 g_unix_mounts_changed_since name="mounts_changed_since"