[vala/staging] glib-2.0,gobject-2.0: Add new symbols from 2.66



commit 0ef09114b09e2671fd0c9cdfec2033ee092fef62
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Sun Jun 7 13:35:45 2020 +0200

    glib-2.0,gobject-2.0: Add new symbols from 2.66

 vapi/glib-2.0.vapi    | 24 ++++++++++++++++++++++++
 vapi/gobject-2.0.vapi |  2 ++
 2 files changed, 26 insertions(+)
---
diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi
index c3df0f7ec..839ceff98 100644
--- a/vapi/glib-2.0.vapi
+++ b/vapi/glib-2.0.vapi
@@ -4491,24 +4491,48 @@ namespace GLib {
                public string get_mime_type (string uri) throws BookmarkFileError;
                public bool get_is_private (string uri) throws BookmarkFileError;
                public bool get_icon (string uri, out string href, out string mime_type) throws 
BookmarkFileError;
+               [Version (deprecated_since = "2.66", replacement = "get_added_date_time")]
                public time_t get_added (string uri) throws BookmarkFileError;
+               [Version (since = "2.66")]
+               public unowned DateTime get_added_date_time (string uri) throws BookmarkFileError;
+               [Version (deprecated_since = "2.66", replacement = "get_modified_date_time")]
                public time_t get_modified (string uri) throws BookmarkFileError;
+               [Version (since = "2.66")]
+               public unowned DateTime get_modified_date_time (string uri) throws BookmarkFileError;
+               [Version (deprecated_since = "2.66", replacement = "get_visited_date_time")]
                public time_t get_visited (string uri) throws BookmarkFileError;
+               [Version (since = "2.66")]
+               public unowned DateTime get_visited_date_time (string uri) throws BookmarkFileError;
                [CCode (array_length_type = "gsize")]
                public string[] get_groups (string uri) throws BookmarkFileError;
                [CCode (array_length_type = "gsize")]
                public string[] get_applications (string uri) throws BookmarkFileError;
+               [Version (deprecated_since = "2.66", replacement = "get_application_info")]
                public bool get_app_info (string uri, string name, out string exec, out uint count, out 
time_t stamp) throws BookmarkFileError;
+               [Version (since = "2.66")]
+               public bool get_application_info (string uri, string name, out string exec, out uint count, 
out unowned DateTime? stamp) throws BookmarkFileError;
                public void set_title (string uri, string title);
                public void set_description (string uri, string description);
                public void set_mime_type (string uri, string mime_type);
                public void set_is_private (string uri, bool is_private);
                public void set_icon (string uri, string href, string mime_type);
+               [Version (deprecated_since = "2.66", replacement = "set_added_date_time")]
                public void set_added (string uri, time_t added);
+               [Version (since = "2.66")]
+               public void set_added_date_time (string uri, DateTime added);
                public void set_groups (string uri, string[] groups);
+               [Version (deprecated_since = "2.66", replacement = "set_modified_date_time")]
                public void set_modified (string uri, time_t modified);
+               [Version (since = "2.66")]
+               public void set_modified_date_time (string uri, DateTime modified);
+               [Version (deprecated_since = "2.66", replacement = "set_visited_date_time")]
                public void set_visited (string uri, time_t visited);
+               [Version (since = "2.66")]
+               public void set_visited_date_time (string uri, DateTime visited);
+               [Version (deprecated_since = "2.66", replacement = "set_application_info")]
                public bool set_app_info (string uri, string name, string exec, int count, time_t stamp) 
throws BookmarkFileError;
+               [Version (since = "2.66")]
+               public bool set_application_info (string uri, string name, string exec, int count, DateTime? 
stamp) throws BookmarkFileError;
                public void add_group (string uri, string group);
                public void add_application (string uri, string name, string exec);
                public bool remove_group (string uri, string group) throws BookmarkFileError;
diff --git a/vapi/gobject-2.0.vapi b/vapi/gobject-2.0.vapi
index 7b06ae9bf..90ebbd506 100644
--- a/vapi/gobject-2.0.vapi
+++ b/vapi/gobject-2.0.vapi
@@ -776,6 +776,8 @@ namespace GLib {
                public void set_instance (void* instance);
                public void set_int (int v_int);
                public void set_int64 (int64 v_int64);
+               [Version (since = "2.66")]
+               public void set_interned_string (string? v_string);
                public void set_long (long v_long);
                public void set_object (GLib.Object? v_object);
                public void set_param (GLib.ParamSpec? param);


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