]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gtk4: Don't skip AlertDialog ctor
authorVal Och <v19930312@gmail.com>
Wed, 17 May 2023 15:14:19 +0000 (15:14 +0000)
committerRico Tzschichholz <ricotz@ubuntu.com>
Sun, 21 May 2023 10:24:14 +0000 (12:24 +0200)
vapi/gtk4.vapi
vapi/metadata/Gtk-4.0.metadata

index a3a78d055d88c6d083a54090a5ae69fac4bc2f29..1bc8d084627790f0c199084173e46f5f670bfbf6 100644 (file)
@@ -6514,7 +6514,8 @@ namespace Gtk {
        [Version (since = "4.10")]
        public class AlertDialog : GLib.Object {
                [CCode (has_construct_function = false)]
-               protected AlertDialog ();
+               [PrintfFormat]
+               public AlertDialog (string format, ...);
                public async int choose (Gtk.Window? parent, GLib.Cancellable? cancellable) throws GLib.Error;
                [CCode (array_length = false, array_null_terminated = true)]
                public unowned string[]? get_buttons ();
index 8f9483913bef2df993bb581d2fa97bc43d5d6cc1..75de83b466f325e8bdcc7a8fa8f136b1cca741fd 100644 (file)
@@ -83,6 +83,8 @@ Accessible
   .update_property skip=false sentinel="-1"
   .update_relation skip=false sentinel="-1"
   .update_state skip=false sentinel="-1"
+AlertDialog
+  .new skip=false printf_format
 BuilderCScope
   .* skip=false
 CellArea