]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gtk4: Update to 4.0.2
authorRico Tzschichholz <ricotz@ubuntu.com>
Wed, 20 Jan 2021 08:42:32 +0000 (09:42 +0100)
committerRico Tzschichholz <ricotz@ubuntu.com>
Wed, 20 Jan 2021 08:42:32 +0000 (09:42 +0100)
vapi/gtk4.vapi

index 8c8ecb53e88f75606a4240dccaee27f21e7bd6f5..ceb18df96c860715baa636aae5567045d4942131 100644 (file)
@@ -5382,6 +5382,7 @@ namespace Gdk {
                public Gdk.FrameClock frame_clock { get; construct; }
                public int height { get; }
                public bool mapped { get; }
+               public int scale_factor { get; }
                public int width { get; }
                public signal void enter_monitor (Gdk.Monitor monitor);
                public signal bool event (Gdk.Event event);
@@ -14055,7 +14056,7 @@ namespace Gtk {
        [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 2.9)]
        public delegate string ScaleFormatValueFunc (Gtk.Scale scale, double value);
        [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 2.9)]
-       public delegate bool ShortcutFunc (Gtk.Widget widget, GLib.Variant args);
+       public delegate bool ShortcutFunc (Gtk.Widget widget, GLib.Variant? args);
        [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 1.9)]
        public delegate bool TextCharPredicate (unichar ch);
        [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 1.9)]