]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
vapi: Update GIR-based bindings
authorRico Tzschichholz <ricotz@ubuntu.com>
Mon, 16 Feb 2015 22:25:23 +0000 (23:25 +0100)
committerRico Tzschichholz <ricotz@ubuntu.com>
Mon, 16 Feb 2015 22:25:23 +0000 (23:25 +0100)
vapi/gdk-3.0.vapi
vapi/gio-2.0.vapi
vapi/metadata/Gio-2.0.metadata

index c3f3e6b518f1d38b34e14497e71dc3b9909b0455..c3788bb00e3c99056fcdb4e14fc8a5f7f8ef4931 100644 (file)
@@ -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,
index ef8ced9ff9bebf2ec1dbb0f9963f63bba0f44cf9..52d13090ff5713a7fc85fcc24e6658a68699acaa 100644 (file)
@@ -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);
index 0f707b7a414cf3e14bd67cd73040ff5ad740d179..c983f445079278b8069c6abd30b0964de3d70132 100644 (file)
@@ -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[]"