[vala] bindings: Update GIR-based bindings



commit 98d5d55695d5ce8722b9bb88d01c9bc68a62b13e
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Fri Oct 31 13:51:16 2014 +0100

    bindings: Update GIR-based bindings

 vapi/atk.vapi            |    1 +
 vapi/gdk-3.0.vapi        |   10 +++++++---
 vapi/gdk-pixbuf-2.0.vapi |    2 +-
 vapi/gio-2.0.vapi        |    2 +-
 4 files changed, 10 insertions(+), 5 deletions(-)
---
diff --git a/vapi/atk.vapi b/vapi/atk.vapi
index e4d5c57..291153c 100644
--- a/vapi/atk.vapi
+++ b/vapi/atk.vapi
@@ -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);
diff --git a/vapi/gdk-3.0.vapi b/vapi/gdk-3.0.vapi
index 5110f38..5bf7850 100644
--- a/vapi/gdk-3.0.vapi
+++ b/vapi/gdk-3.0.vapi
@@ -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 {
diff --git a/vapi/gdk-pixbuf-2.0.vapi b/vapi/gdk-pixbuf-2.0.vapi
index 40e366a..28dac7a 100644
--- a/vapi/gdk-pixbuf-2.0.vapi
+++ b/vapi/gdk-pixbuf-2.0.vapi
@@ -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")]
diff --git a/vapi/gio-2.0.vapi b/vapi/gio-2.0.vapi
index 29e1528..2737e63 100644
--- a/vapi/gio-2.0.vapi
+++ b/vapi/gio-2.0.vapi
@@ -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)]


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