[vala] gtk+-4.0: Update to 3.89.0+2520662d



commit 4dba5a53f489f98d94ff7ff4413fef8c1d294254
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Sun Nov 13 10:06:50 2016 +0100

    gtk+-4.0: Update to 3.89.0+2520662d

 vapi/gtk+-4.0.vapi |   16 +++++++++++++++-
 1 files changed, 15 insertions(+), 1 deletions(-)
---
diff --git a/vapi/gtk+-4.0.vapi b/vapi/gtk+-4.0.vapi
index e0a2d7b..ed6a43a 100644
--- a/vapi/gtk+-4.0.vapi
+++ b/vapi/gtk+-4.0.vapi
@@ -6910,7 +6910,7 @@ namespace Gsk {
                public void set_opacity (double opacity);
                public void set_opaque (bool opaque);
                public void set_scaling_filter (Gsk.ScalingFilter min_filter, Gsk.ScalingFilter mag_filter);
-               public void set_texture (int texture_id);
+               public void set_texture (Gsk.Texture texture);
                public void set_transform (Graphene.Matrix? transform);
                public void unref ();
        }
@@ -6975,6 +6975,20 @@ namespace Gsk {
                public Graphene.Rect viewport { get; set; }
                public Gdk.Window window { get; construct; }
        }
+       [CCode (cheader_filename = "gsk/gsk.h", ref_function = "gsk_texture_ref", type_id = 
"gsk_texture_get_type ()", unref_function = "gsk_texture_unref")]
+       [Compact]
+       [Version (since = "3.90")]
+       public class Texture {
+               [CCode (has_construct_function = false)]
+               public Texture.for_data (Gsk.Renderer renderer, uint8 data, int width, int height, int 
stride);
+               [CCode (has_construct_function = false)]
+               public Texture.for_pixbuf (Gsk.Renderer renderer, Gdk.Pixbuf pixbuf);
+               public int get_height ();
+               public unowned Gsk.Renderer get_renderer ();
+               public int get_width ();
+               public unowned Gsk.Texture @ref ();
+               public void unref ();
+       }
        [CCode (cheader_filename = "gsk/gsk.h", cprefix = "GSK_BLEND_MODE_", has_type_id = false)]
        [Version (since = "3.90")]
        public enum BlendMode {


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