]> 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>
Wed, 17 May 2023 16:51:37 +0000 (18:51 +0200)
vapi/gtk4.vapi
vapi/metadata/Gtk-4.0.metadata

index a0c0817b92ab76fa3f958b79647a7acc1ea8d991..9186bfe2f265aa6c1ba5d913ad4ba1c995b007c2 100644 (file)
@@ -6514,7 +6514,8 @@ namespace Gtk {
        [Version (since = "4.10")]
        public sealed 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 2eac2a944435bfbb5b93fc1b3a07740e9a60e6a3..e06727eb11e27407b8e0e090e215bc5a874be51d 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