[vala] vapi: Update GIR-based bindings



commit 890a32b1125f5aeaf1fd647b25aa4c074cef6f46
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Mon Feb 16 23:25:23 2015 +0100

    vapi: Update GIR-based bindings

 vapi/gdk-3.0.vapi              |   10 ++--------
 vapi/gio-2.0.vapi              |    3 +++
 vapi/metadata/Gio-2.0.metadata |    2 ++
 3 files changed, 7 insertions(+), 8 deletions(-)
---
diff --git a/vapi/gdk-3.0.vapi b/vapi/gdk-3.0.vapi
index c3f3e6b..c3788bb 100644
--- a/vapi/gdk-3.0.vapi
+++ b/vapi/gdk-3.0.vapi
@@ -5076,9 +5076,9 @@ namespace Gdk {
                public bool get_debug_enabled ();
                public unowned Gdk.Display get_display ();
                public bool get_forward_compatible ();
-               public Gdk.GLProfile get_profile ();
                public void get_required_version (out int? major, out int? minor);
                public unowned Gdk.GLContext get_shared_context ();
+               public void get_version (out int major, out int minor);
                public unowned Gdk.Window get_window ();
                public void make_current ();
                public bool realize () throws GLib.Error;
@@ -5086,7 +5086,6 @@ namespace Gdk {
                public void set_forward_compatible (bool compatible);
                public void set_required_version (int major, int minor);
                public Gdk.Display display { get; construct; }
-               public Gdk.GLProfile profile { get; construct; }
                public Gdk.GLContext shared_context { get; construct; }
                public Gdk.Window window { get; construct; }
        }
@@ -5197,7 +5196,7 @@ namespace Gdk {
                public static void constrain_size (Gdk.Geometry geometry, Gdk.WindowHints flags, int width, 
int height, out int new_width, out int new_height);
                public void coords_from_parent (double parent_x, double parent_y, out double x, out double y);
                public void coords_to_parent (double x, double y, out double parent_x, out double parent_y);
-               public Gdk.GLContext create_gl_context (Gdk.GLProfile profile) throws GLib.Error;
+               public Gdk.GLContext create_gl_context () throws GLib.Error;
                public Cairo.Surface create_similar_image_surface (int format, int width, int height, int 
scale);
                public Cairo.Surface create_similar_surface (Cairo.Content content, int width, int height);
                public void deiconify ();
@@ -5682,11 +5681,6 @@ namespace Gdk {
                CURRENT_MONITOR,
                ALL_MONITORS
        }
-       [CCode (cheader_filename = "gdk/gdk.h", cprefix = "GDK_GL_PROFILE_", type_id = 
"gdk_gl_profile_get_type ()")]
-       public enum GLProfile {
-               DEFAULT,
-               @3_2_CORE
-       }
        [CCode (cheader_filename = "gdk/gdk.h", cprefix = "GDK_OWNERSHIP_", type_id = 
"gdk_grab_ownership_get_type ()")]
        public enum GrabOwnership {
                NONE,
diff --git a/vapi/gio-2.0.vapi b/vapi/gio-2.0.vapi
index ef8ced9..52d1309 100644
--- a/vapi/gio-2.0.vapi
+++ b/vapi/gio-2.0.vapi
@@ -288,6 +288,7 @@ namespace GLib {
                public virtual void after_emit (GLib.Variant platform_data);
                [NoWrapper]
                public virtual void before_emit (GLib.Variant platform_data);
+               public void bind_busy_property (void* object, string? property);
                [NoWrapper]
                public virtual bool dbus_register (GLib.DBusConnection connection, string object_path) throws 
GLib.Error;
                [NoWrapper]
@@ -2758,6 +2759,8 @@ namespace GLib {
        }
        [CCode (cheader_filename = "gio/gio.h", type_cname = "GListModelInterface", type_id = 
"g_list_model_get_type ()")]
        public interface ListModel : GLib.Object {
+               [NoWrapper]
+               public abstract void* get_item (uint position);
                public abstract GLib.Type get_item_type ();
                public abstract uint get_n_items ();
                public GLib.Object? get_object (uint position);
diff --git a/vapi/metadata/Gio-2.0.metadata b/vapi/metadata/Gio-2.0.metadata
index 0f707b7..c983f44 100644
--- a/vapi/metadata/Gio-2.0.metadata
+++ b/vapi/metadata/Gio-2.0.metadata
@@ -140,6 +140,8 @@ InputStream
   .read_finish throws="GLib.IOError"
   .skip throws="GLib.IOError"
   .skip_finish throws="GLib.IOError"
+ListModel
+  .get_item skip=false
 MemoryOutputStream
   .get_data type="unowned uint8[]"
   .steal_data type="uint8[]"


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