]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
glib-2.0: Fix g_bookmark_file_load_from_*/to_file bindings
authorRico Tzschichholz <ricotz@ubuntu.com>
Wed, 1 Mar 2017 21:28:29 +0000 (22:28 +0100)
committerRico Tzschichholz <ricotz@ubuntu.com>
Wed, 1 Mar 2017 21:31:37 +0000 (22:31 +0100)
BookmarkFile.load_from_file, load_from_data_dirs and to_file may
also throw FileError in addition to BookmarkFileError.

vapi/glib-2.0.vapi

index dff4a2f5bcf312a5af3ffd0a337f71ac52ba585e..428dd0bf0321a178bd3aeabe30f5a70996a03c49 100644 (file)
@@ -4182,11 +4182,11 @@ namespace GLib {
        [CCode (free_function = "g_bookmark_file_free")]
        public class BookmarkFile {
                public BookmarkFile ();
-               public bool load_from_file (string file) throws BookmarkFileError;
+               public bool load_from_file (string file) throws BookmarkFileError, FileError;
                public bool load_from_data (string data, size_t length) throws BookmarkFileError;
-               public bool load_from_data_dirs (string file, out string full_path) throws BookmarkFileError;
+               public bool load_from_data_dirs (string file, out string full_path) throws BookmarkFileError, FileError;
                public string to_data (out size_t length) throws BookmarkFileError;
-               public bool to_file (string filename) throws BookmarkFileError;
+               public bool to_file (string filename) throws BookmarkFileError, FileError;
                public bool has_item (string uri);
                public bool has_group (string uri, string group) throws BookmarkFileError;
                public bool has_application (string uri, string name) throws BookmarkFileError;