]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
vapi: Update GIR-based bindings
authorRico Tzschichholz <ricotz@ubuntu.com>
Wed, 20 Apr 2022 11:58:33 +0000 (13:58 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Wed, 20 Apr 2022 11:58:33 +0000 (13:58 +0200)
vapi/gtk+-3.0.vapi
vapi/gtk4.vapi
vapi/libsoup-3.0.vapi

index 27cb7574d180e01ad550ac31d91d36ef36f4af21..6b61d3b91cd4af34cb250a2f68a0f4861cab26a2 100644 (file)
@@ -10469,7 +10469,7 @@ namespace Gtk {
                [Version (since = "2.4")]
                public string? get_current_folder ();
                [Version (since = "2.14")]
-               public GLib.File get_current_folder_file ();
+               public GLib.File? get_current_folder_file ();
                [Version (since = "2.4")]
                public string? get_current_folder_uri ();
                [Version (since = "3.10")]
index b68a9bc0c72c3f4f5bdf794fead9cedfabebe4da..474846697ba0fffc7445f32e335e7735a0b56b56 100644 (file)
@@ -9714,13 +9714,13 @@ namespace Gtk {
                public bool get_shrink_start_child ();
                public unowned Gtk.Widget? get_start_child ();
                public bool get_wide_handle ();
-               public void set_end_child (Gtk.Widget child);
+               public void set_end_child (Gtk.Widget? child);
                public void set_position (int position);
                public void set_resize_end_child (bool resize);
                public void set_resize_start_child (bool resize);
                public void set_shrink_end_child (bool resize);
                public void set_shrink_start_child (bool resize);
-               public void set_start_child (Gtk.Widget child);
+               public void set_start_child (Gtk.Widget? child);
                public void set_wide_handle (bool wide);
                public Gtk.Widget end_child { get; set; }
                [NoAccessorMethod]
@@ -11299,6 +11299,7 @@ namespace Gtk {
                [NoAccessorMethod]
                public bool letter_spacing_set { get; set; }
                [NoAccessorMethod]
+               [Version (since = "4.6")]
                public float line_height { get; set; }
                [NoAccessorMethod]
                public bool line_height_set { get; set; }
index 137aec9f2ccf21d6b3c768a3fad94be806d3e0b0..ef8592e7c2093cc67433a1393d09528266fb427a 100644 (file)
@@ -70,7 +70,6 @@ namespace Soup {
                public void remove_path (string path);
                public void set_filter (owned Soup.AuthDomainFilter filter);
                public void set_generic_auth_callback (owned Soup.AuthDomainGenericAuthCallback auth_callback);
-               public bool try_generic_auth_callback (Soup.ServerMessage msg, string username);
                [NoAccessorMethod]
                public Soup.AuthDomainFilter filter { get; set; }
                [NoAccessorMethod]
@@ -297,7 +296,7 @@ namespace Soup {
                public unowned string get_method ();
                public unowned Soup.MessageMetrics? get_metrics ();
                public Soup.MessagePriority get_priority ();
-               public unowned string get_reason_phrase ();
+               public unowned string? get_reason_phrase ();
                public unowned GLib.SocketAddress? get_remote_address ();
                public unowned Soup.MessageHeaders get_request_headers ();
                public unowned Soup.MessageHeaders get_response_headers ();
@@ -514,7 +513,7 @@ namespace Soup {
                public Soup.HTTPVersion get_http_version ();
                public unowned GLib.SocketAddress? get_local_address ();
                public unowned string get_method ();
-               public unowned string get_reason_phrase ();
+               public unowned string? get_reason_phrase ();
                public unowned GLib.SocketAddress? get_remote_address ();
                public unowned string? get_remote_host ();
                public unowned Soup.MessageBody get_request_body ();
@@ -667,12 +666,6 @@ namespace Soup {
                public int64 start;
                public int64 end;
        }
-       [CCode (cheader_filename = "libsoup/soup.h", cprefix = "SOUP_CACHE_RESPONSE_", type_id = "soup_cache_response_get_type ()")]
-       public enum CacheResponse {
-               FRESH,
-               NEEDS_VALIDATION,
-               STALE
-       }
        [CCode (cheader_filename = "libsoup/soup.h", cprefix = "SOUP_CACHE_", type_id = "soup_cache_type_get_type ()")]
        public enum CacheType {
                SINGLE_USER,