]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gtk4: Make Gtk.show_uri_full() an instance method of Gtk.Window
authorRico Tzschichholz <ricotz@ubuntu.com>
Tue, 9 Aug 2022 21:07:45 +0000 (23:07 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Mon, 26 Sep 2022 06:50:19 +0000 (08:50 +0200)
Fixes https://gitlab.gnome.org/GNOME/vala/issues/1347

vapi/gtk4.vapi
vapi/metadata/Gtk-4.0.metadata

index 9cdd79f484a21b1d60efbb1a0ac15f62dcd77f6a..d5d29967f787eff6b65ec44bf907ef959e5a430a 100644 (file)
@@ -12534,6 +12534,8 @@ namespace Gtk {
                public void set_title (string? title);
                public void set_titlebar (Gtk.Widget? titlebar);
                public void set_transient_for (Gtk.Window? parent);
+               [CCode (cheader_filename = "gtk/gtk.h", cname = "gtk_show_uri_full", finish_name = "gtk_show_uri_full_finish")]
+               public async bool show_uri_full (string uri, uint32 timestamp, GLib.Cancellable? cancellable) throws GLib.Error;
                public void unfullscreen ();
                public void unmaximize ();
                public void unminimize ();
@@ -14550,8 +14552,6 @@ namespace Gtk {
        [CCode (cheader_filename = "gtk/gtk.h")]
        public static void show_uri (Gtk.Window? parent, string uri, uint32 timestamp);
        [CCode (cheader_filename = "gtk/gtk.h")]
-       public static async bool show_uri_full (Gtk.Window? parent, string uri, uint32 timestamp, GLib.Cancellable? cancellable) throws GLib.Error;
-       [CCode (cheader_filename = "gtk/gtk.h")]
        public static void test_accessible_assertion_message_role (string domain, string file, int line, string func, string expr, Gtk.Accessible accessible, Gtk.AccessibleRole expected_role, Gtk.AccessibleRole actual_role);
        [CCode (cheader_filename = "gtk/gtk.h")]
        public static bool test_accessible_has_property (Gtk.Accessible accessible, Gtk.AccessibleProperty property);
index 1d81ecfc92e2c7c9840b291c0ca375628873c5c2..cc2cf65f7e4606834860ed08d407369010f04541 100644 (file)
@@ -340,6 +340,8 @@ TreeModel
   .get_value return_void
   .rows_reordered skip
 show_about_dialog skip=false
+show_uri_full parent="Gtk.Window" symbol_type="method" instance_idx=0 finish_name="gtk_show_uri_full_finish"
+show_uri_full_finish parent="Gtk.Window" symbol_type="method" instance_idx=0
 test_init skip=false
 
 test_init.argvp unowned