[vala/staging: 3/4] glib-2.0: Fix g_bookmark_file_load_from_*/to_file bindings



commit 2542bd846fdab3b1bea80eb16f1b6b341dd7df1a
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Wed Mar 1 22:28:29 2017 +0100

    glib-2.0: Fix g_bookmark_file_load_from_*/to_file bindings
    
    BookmarkFile.load_from_file, load_from_data_dirs and to_file may
    also throw FileError in addition to BookmarkFileError.

 vapi/glib-2.0.vapi |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi
index dff4a2f..428dd0b 100644
--- a/vapi/glib-2.0.vapi
+++ b/vapi/glib-2.0.vapi
@@ -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;


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