[vala/0.44] gdk-3.0,gtk+-3.0: Update from 3.24.7+



commit 5946bd4ce474b52a80f7c5805ea6cd6a0211a600
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Mon Apr 8 17:43:40 2019 +0200

    gdk-3.0,gtk+-3.0: Update from 3.24.7+

 vapi/gdk-3.0.vapi              |  6 ++++++
 vapi/gdk-x11-3.0.vapi          | 15 +++++++++++++++
 vapi/gtk+-3.0.vapi             |  2 ++
 vapi/metadata/Gtk-3.0.metadata |  4 ++--
 4 files changed, 25 insertions(+), 2 deletions(-)
---
diff --git a/vapi/gdk-3.0.vapi b/vapi/gdk-3.0.vapi
index 6d934716e..7d30e3aee 100644
--- a/vapi/gdk-3.0.vapi
+++ b/vapi/gdk-3.0.vapi
@@ -6642,8 +6642,14 @@ namespace Gdk {
        [CCode (cheader_filename = "gdk/gdk.h", cname = "GDK_EVENT_STOP")]
        [Version (since = "3.4")]
        public const bool EVENT_STOP;
+       [CCode (cheader_filename = "gdk/gdk.h", cname = "GDK_MAJOR_VERSION")]
+       public const int MAJOR_VERSION;
        [CCode (cheader_filename = "gdk/gdk.h", cname = "GDK_MAX_TIMECOORD_AXES")]
        public const int MAX_TIMECOORD_AXES;
+       [CCode (cheader_filename = "gdk/gdk.h", cname = "GDK_MICRO_VERSION")]
+       public const int MICRO_VERSION;
+       [CCode (cheader_filename = "gdk/gdk.h", cname = "GDK_MINOR_VERSION")]
+       public const int MINOR_VERSION;
        [CCode (cheader_filename = "gdk/gdk.h", cname = "GDK_PARENT_RELATIVE")]
        public const int PARENT_RELATIVE;
        [CCode (cheader_filename = "gdk/gdk.h", cname = "GDK_PRIORITY_REDRAW")]
diff --git a/vapi/gdk-x11-3.0.vapi b/vapi/gdk-x11-3.0.vapi
index b0c83dbfa..156310581 100644
--- a/vapi/gdk-x11-3.0.vapi
+++ b/vapi/gdk-x11-3.0.vapi
@@ -65,6 +65,8 @@ namespace Gdk {
                        public void error_trap_pop_ignored ();
                        [Version (since = "3.0")]
                        public void error_trap_push ();
+                       [Version (since = "3.16")]
+                       public static bool get_glx_version (Gdk.Display display, out int major, out int 
minor);
                        [Version (since = "2.12")]
                        public unowned string get_startup_notification_id ();
                        [Version (since = "2.8")]
@@ -103,6 +105,12 @@ namespace Gdk {
                        [CCode (has_construct_function = false)]
                        protected DragContext ();
                }
+               [CCode (cheader_filename = "gdk/gdkx.h", type_id = "gdk_x11_gl_context_get_type ()")]
+               [GIR (name = "X11GLContext")]
+               public class GLContext : Gdk.GLContext {
+                       [CCode (has_construct_function = false)]
+                       protected GLContext ();
+               }
                [CCode (cheader_filename = "gdk/gdkx.h", type_id = "gdk_x11_keymap_get_type ()")]
                [GIR (name = "X11Keymap")]
                public class Keymap : Gdk.Keymap {
@@ -113,6 +121,13 @@ namespace Gdk {
                        [Version (since = "3.6")]
                        public bool key_is_modifier (uint keycode);
                }
+               [CCode (cheader_filename = "gdk/gdkx.h", type_id = "gdk_x11_monitor_get_type ()")]
+               [GIR (name = "X11Monitor")]
+               public class Monitor : Gdk.Monitor {
+                       [CCode (has_construct_function = false)]
+                       protected Monitor ();
+                       public static X.ID get_output (Gdk.Monitor monitor);
+               }
                [CCode (cheader_filename = "gdk/gdkx.h", type_id = "gdk_x11_screen_get_type ()")]
                [GIR (name = "X11Screen")]
                public class Screen : Gdk.Screen {
diff --git a/vapi/gtk+-3.0.vapi b/vapi/gtk+-3.0.vapi
index 36513aedf..dd43be975 100644
--- a/vapi/gtk+-3.0.vapi
+++ b/vapi/gtk+-3.0.vapi
@@ -922,6 +922,8 @@ namespace Gtk {
                [NoAccessorMethod]
                [Version (since = "3.24")]
                public bool screensaver_active { get; }
+               [Version (since = "3.24.8")]
+               public signal void query_end ();
                [Version (since = "3.2")]
                public virtual signal void window_added (Gtk.Window window);
                [Version (since = "3.2")]
diff --git a/vapi/metadata/Gtk-3.0.metadata b/vapi/metadata/Gtk-3.0.metadata
index b5fd7ecf9..934db7ce3 100644
--- a/vapi/metadata/Gtk-3.0.metadata
+++ b/vapi/metadata/Gtk-3.0.metadata
@@ -276,8 +276,8 @@ Editable
 EntryBuffer
   .new.initial_chars default=null
 Gesture
-  .get_point.x nullable default=null
-  .get_point.y nullable default=null
+  .get_point.x default=null
+  .get_point.y default=null
 Grid
   .attach*.width default=1
   .attach*.height default=1


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]