]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gtk+-4.0: Update to 3.93.0+fc6018f1
authorRico Tzschichholz <ricotz@ubuntu.com>
Fri, 13 Apr 2018 15:57:18 +0000 (17:57 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Fri, 13 Apr 2018 15:57:18 +0000 (17:57 +0200)
vapi/gtk+-4.0.vapi
vapi/metadata/Gdk-4.0.metadata

index f7d42b94410ce69f9993d586e5d26ec9783c3f50..b80896d015c632bc067174b77e3c5ef9a425b8d7 100644 (file)
@@ -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);
index baabe03c0aed7d2bb9544fef5ddff8b9a67b5b68..9e8d0ce419a724586d26acc0def291e50ffff3a3 100644 (file)
@@ -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