[vala/staging] gtk+-4.0: Update to 3.93.0+fc6018f1



commit 01750721e3794232025b43f4f7beb2a2456732c9
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Fri Apr 13 17:57:18 2018 +0200

    gtk+-4.0: Update to 3.93.0+fc6018f1

 vapi/gtk+-4.0.vapi             |   12 +++---------
 vapi/metadata/Gdk-4.0.metadata |    1 -
 2 files changed, 3 insertions(+), 10 deletions(-)
---
diff --git a/vapi/gtk+-4.0.vapi b/vapi/gtk+-4.0.vapi
index f7d42b9..b80896d 100644
--- a/vapi/gtk+-4.0.vapi
+++ b/vapi/gtk+-4.0.vapi
@@ -5016,11 +5016,10 @@ namespace Gdk {
                public unowned Cairo.Context? get_cairo_context ();
                public Cairo.Region? get_clip ();
                public unowned Gdk.DrawContext get_paint_context ();
-               public unowned Gdk.Surface get_surface ();
-               public bool is_valid ();
                public Cairo.Region clip { owned get; construct; }
                public Gdk.DrawContext paint_context { get; construct; }
-               public Gdk.Surface surface { get; construct; }
+               [NoAccessorMethod]
+               public Gdk.Surface surface { owned get; construct; }
        }
        [CCode (cheader_filename = "gdk/gdk.h", type_id = "gdk_event_get_type ()")]
        public class Event : GLib.Object {
@@ -5250,7 +5249,6 @@ namespace Gdk {
                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 () throws GLib.Error;
-               public Cairo.ImageSurface 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 Gdk.VulkanContext create_vulkan_context () throws GLib.Error;
                public void deiconify ();
@@ -5379,6 +5377,7 @@ namespace Gdk {
                public static Gdk.Texture from_resource (string resource_path);
                public int get_height ();
                public int get_width ();
+               public bool save_to_png (string filename);
                public int height { get; construct; }
                public int width { get; construct; }
        }
@@ -5980,8 +5979,6 @@ namespace Gdk {
        [CCode (cheader_filename = "gdk/gdk.h")]
        public static bool cairo_get_clip_rectangle (Cairo.Context cr, out Gdk.Rectangle rect);
        [CCode (cheader_filename = "gdk/gdk.h")]
-       public static unowned Gdk.DrawingContext? cairo_get_drawing_context (Cairo.Context cr);
-       [CCode (cheader_filename = "gdk/gdk.h")]
        public static void cairo_rectangle (Cairo.Context cr, Gdk.Rectangle rectangle);
        [CCode (cheader_filename = "gdk/gdk.h")]
        public static void cairo_region (Cairo.Context cr, Cairo.Region region);
@@ -5992,8 +5989,6 @@ namespace Gdk {
        [CCode (cheader_filename = "gdk/gdk.h")]
        public static void cairo_set_source_rgba (Cairo.Context cr, Gdk.RGBA rgba);
        [CCode (cheader_filename = "gdk/gdk.h")]
-       public static Cairo.Surface cairo_surface_create_from_pixbuf (Gdk.Pixbuf pixbuf, int scale, 
Gdk.Surface? for_surface);
-       [CCode (cheader_filename = "gdk/gdk.h")]
        public static void cairo_surface_upload_to_gl (Cairo.Surface surface, int target, int width, int 
height, Gdk.GLContext? context);
        [CCode (cheader_filename = "gdk/gdk.h")]
        public static async bool content_deserialize_async (GLib.InputStream stream, string mime_type, 
GLib.Type type, int io_priority, GLib.Cancellable? cancellable) throws GLib.Error;
@@ -11635,7 +11630,6 @@ namespace Gtk {
                public void set_opacity (double opacity);
                public void set_parent (Gtk.Widget parent);
                public void set_parent_surface (Gdk.Surface parent_surface);
-               public void set_realized (bool realized);
                public void set_receives_default (bool receives_default);
                public void set_sensitive (bool sensitive);
                public void set_size_request (int width, int height);
diff --git a/vapi/metadata/Gdk-4.0.metadata b/vapi/metadata/Gdk-4.0.metadata
index baabe03..9e8d0ce 100644
--- a/vapi/metadata/Gdk-4.0.metadata
+++ b/vapi/metadata/Gdk-4.0.metadata
@@ -17,7 +17,6 @@ Event
 Paintable
         .new_empty name="empty"
 Surface abstract=false
-        .create_similar_image_surface type="Cairo.ImageSurface"
         .moved_to_rect.*_rect type="Gdk.Rectangle"
 Rectangle struct
         .x skip


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