]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
bindings: Update GIR-based bindings
authorRico Tzschichholz <ricotz@ubuntu.com>
Fri, 31 Oct 2014 12:51:16 +0000 (13:51 +0100)
committerRico Tzschichholz <ricotz@ubuntu.com>
Fri, 31 Oct 2014 12:51:16 +0000 (13:51 +0100)
vapi/atk.vapi
vapi/gdk-3.0.vapi
vapi/gdk-pixbuf-2.0.vapi
vapi/gio-2.0.vapi

index e4d5c57d81a1cdb9c19ce5c10910a9a2a7b2896f..291153c7d2841baaf1a52beabac6f73e2aaa7745 100644 (file)
@@ -793,6 +793,7 @@ namespace Atk {
                VISITED,
                CHECKABLE,
                HAS_POPUP,
+               HAS_TOOLTIP,
                LAST_DEFINED;
                [CCode (cheader_filename = "atk/atk.h")]
                public static Atk.StateType for_name (string name);
index 5110f38183242a6e1cd5991cbec0fe7803d18116..5bf7850627da032912e641f95367603385f76324 100644 (file)
@@ -4580,6 +4580,7 @@ namespace Gdk {
        [CCode (cheader_filename = "gdk/gdk.h", type_id = "gdk_cursor_get_type ()")]
        public class Cursor : GLib.Object {
                [CCode (has_construct_function = false)]
+               [Deprecated (since = "3.16")]
                public Cursor (Gdk.CursorType cursor_type);
                [CCode (has_construct_function = false)]
                public Cursor.for_display (Gdk.Display display, Gdk.CursorType cursor_type);
@@ -5067,10 +5068,12 @@ namespace Gdk {
                protected GLContext ();
                public static void clear_current ();
                public static unowned Gdk.GLContext get_current ();
-               public unowned Gdk.Visual get_visual ();
+               public Gdk.GLProfile get_profile ();
                public unowned Gdk.Window get_window ();
                public void make_current ();
-               public Gdk.Visual visual { get; construct; }
+               public Gdk.GLProfile profile { get; construct; }
+               [NoAccessorMethod]
+               public Gdk.GLContext shared_context { owned get; construct; }
                public Gdk.Window window { get; construct; }
        }
        [CCode (cheader_filename = "gdk/gdk.h", type_id = "gdk_keymap_get_type ()")]
@@ -5681,7 +5684,8 @@ namespace Gdk {
                ALREADY_GRABBED,
                INVALID_TIME,
                NOT_VIEWABLE,
-               FROZEN
+               FROZEN,
+               FAILED
        }
        [CCode (cheader_filename = "gdk/gdk.h", cprefix = "GDK_GRAVITY_", type_id = "gdk_gravity_get_type ()")]
        public enum Gravity {
index 40e366abf6ae65dacc56b00338c4303edb0de01e..28dac7a7da3408a50fe32d8d4bf34060f7928b38 100644 (file)
@@ -55,7 +55,7 @@ namespace Gdk {
                public int get_height ();
                public int get_n_channels ();
                public unowned string get_option (string key);
-               public GLib.HashTable<weak void*,weak void*> get_options ();
+               public GLib.HashTable<weak string,weak string> get_options ();
                [CCode (array_length = false)]
                public unowned uint8[] get_pixels ();
                [CCode (array_length_pos = 0.1, array_length_type = "guint")]
index 29e15285d102a7d69812f1f9ca150f0cb1711dee..2737e637a5bc6e97ca36ddd271eb9e4a894c8489 100644 (file)
@@ -3637,7 +3637,7 @@ namespace GLib {
        [CCode (cheader_filename = "gio/gio.h", instance_pos = 6.9)]
        public delegate GLib.Variant DBusInterfaceGetPropertyFunc (GLib.DBusConnection connection, string sender, string object_path, string interface_name, string property_name) throws GLib.Error;
        [CCode (cheader_filename = "gio/gio.h", instance_pos = 7.9)]
-       public delegate void DBusInterfaceMethodCallFunc (GLib.DBusConnection connection, string sender, string object_path, string interface_name, string method_name, GLib.Variant parameters, GLib.DBusMethodInvocation invocation);
+       public delegate void DBusInterfaceMethodCallFunc (GLib.DBusConnection connection, string sender, string object_path, string interface_name, string method_name, GLib.Variant parameters, owned GLib.DBusMethodInvocation invocation);
        [CCode (cheader_filename = "gio/gio.h", instance_pos = 7.9)]
        public delegate bool DBusInterfaceSetPropertyFunc (GLib.DBusConnection connection, string sender, string object_path, string interface_name, string property_name, GLib.Variant value) throws GLib.Error;
        [CCode (cheader_filename = "gio/gio.h", instance_pos = 3.9)]