[vala/0.40] gtk+-4.0: Update to 3.93.0+f2937f8c



commit 467299b0aa53fbbcaedefb40b84b86600b93a427
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Sun Apr 1 09:23:35 2018 +0200

    gtk+-4.0: Update to 3.93.0+f2937f8c

 vapi/gtk+-4.0.vapi                |   32 ++++++++++++++++++++++++--------
 vapi/metadata/Gsk-4.0-custom.vala |    3 +++
 vapi/metadata/Gsk-4.0.metadata    |    3 +++
 vapi/metadata/Gtk-4.0.metadata    |    1 +
 4 files changed, 31 insertions(+), 8 deletions(-)
---
diff --git a/vapi/gtk+-4.0.vapi b/vapi/gtk+-4.0.vapi
index 447c206..c2a685f 100644
--- a/vapi/gtk+-4.0.vapi
+++ b/vapi/gtk+-4.0.vapi
@@ -6145,6 +6145,14 @@ namespace Gsk {
                public unowned Graphene.Point? peek_start ();
        }
        [CCode (cheader_filename = "gsk/gsk.h", cname = "GskRenderNode")]
+       public class OffsetNode : Gsk.RenderNode {
+               [CCode (has_construct_function = false)]
+               public OffsetNode (Gsk.RenderNode child, double x_offset, double y_offset);
+               public unowned Gsk.RenderNode get_child ();
+               public double get_x_offset ();
+               public double get_y_offset ();
+       }
+       [CCode (cheader_filename = "gsk/gsk.h", cname = "GskRenderNode")]
        public class OpacityNode : Gsk.RenderNode {
                [CCode (has_construct_function = false)]
                public OpacityNode (Gsk.RenderNode child, double opacity);
@@ -6328,7 +6336,8 @@ namespace Gsk {
                BLEND_NODE,
                CROSS_FADE_NODE,
                TEXT_NODE,
-               BLUR_NODE
+               BLUR_NODE,
+               OFFSET_NODE
        }
        [CCode (cheader_filename = "gsk/gsk.h", cprefix = "GSK_SCALING_FILTER_", type_id = 
"gsk_scaling_filter_get_type ()")]
        [Version (since = "3.90")]
@@ -8059,6 +8068,8 @@ namespace Gtk {
        public class FontChooserWidget : Gtk.Widget, Atk.Implementor, Gtk.Buildable, Gtk.FontChooser {
                [CCode (has_construct_function = false, type = "GtkWidget*")]
                public FontChooserWidget ();
+               [NoAccessorMethod]
+               public GLib.Action tweak_action { owned get; }
        }
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_frame_get_type ()")]
        public class Frame : Gtk.Bin, Atk.Implementor, Gtk.Buildable {
@@ -8370,7 +8381,7 @@ namespace Gtk {
        public class IconView : Gtk.Container, Atk.Implementor, Gtk.Buildable, Gtk.CellLayout, Gtk.Scrollable 
{
                [CCode (has_construct_function = false, type = "GtkWidget*")]
                public IconView ();
-               public Cairo.Surface create_drag_icon (Gtk.TreePath path);
+               public Gdk.Paintable create_drag_icon (Gtk.TreePath path);
                public void enable_model_drag_dest (Gdk.ContentFormats formats, Gdk.DragAction actions);
                public void enable_model_drag_source (Gdk.ModifierType start_button_mask, Gdk.ContentFormats 
formats, Gdk.DragAction actions);
                public bool get_activate_on_single_click ();
@@ -10227,6 +10238,7 @@ namespace Gtk {
                public Snapshot (bool record_names, Cairo.Region? clip, string name, ...);
                public Cairo.Context append_cairo (Graphene.Rect bounds, string name, ...);
                public void append_color (Gdk.RGBA color, Graphene.Rect bounds, string name, ...);
+               public void append_layout (Pango.Layout layout, Gdk.RGBA color, string name, ...);
                public void append_linear_gradient (Graphene.Rect bounds, Graphene.Point start_point, 
Graphene.Point end_point, Gsk.ColorStop stops, size_t n_stops, string name, ...);
                public void append_node (Gsk.RenderNode node);
                public void append_repeating_linear_gradient (Graphene.Rect bounds, Graphene.Point 
start_point, Graphene.Point end_point, Gsk.ColorStop stops, size_t n_stops, string name, ...);
@@ -10234,6 +10246,8 @@ namespace Gtk {
                public bool clips_rect (Cairo.RectangleInt bounds);
                [DestroysInstance]
                public Gsk.RenderNode free_to_node ();
+               [DestroysInstance]
+               public Gdk.Paintable free_to_paintable ();
                public void get_offset (out int x, out int y);
                public bool get_record_names ();
                public void offset (int x, int y);
@@ -10255,6 +10269,7 @@ namespace Gtk {
                public void render_insertion_cursor (Gtk.StyleContext context, double x, double y, 
Pango.Layout layout, int index, Pango.Direction direction);
                public void render_layout (Gtk.StyleContext context, double x, double y, Pango.Layout layout);
                public Gsk.RenderNode to_node ();
+               public Gdk.Paintable to_paintable ();
        }
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_spin_button_get_type ()")]
        public class SpinButton : Gtk.Widget, Atk.Implementor, Gtk.Buildable, Gtk.Editable, Gtk.Orientable {
@@ -11185,7 +11200,7 @@ namespace Gtk {
                public void convert_tree_to_widget_coords (int tx, int ty, out int wx, out int wy);
                public void convert_widget_to_bin_window_coords (int wx, int wy, out int bx, out int by);
                public void convert_widget_to_tree_coords (int wx, int wy, out int tx, out int ty);
-               public Cairo.Surface create_row_drag_icon (Gtk.TreePath path);
+               public Gdk.Paintable create_row_drag_icon (Gtk.TreePath path);
                public void enable_model_drag_dest (Gdk.ContentFormats formats, Gdk.DragAction actions);
                public void enable_model_drag_source (Gdk.ModifierType start_button_mask, Gdk.ContentFormats 
formats, Gdk.DragAction actions);
                public void expand_all ();
@@ -12679,10 +12694,13 @@ namespace Gtk {
                MIME_TYPE
        }
        [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_FONT_CHOOSER_LEVEL_", type_id = 
"gtk_font_chooser_level_get_type ()")]
+       [Flags]
        public enum FontChooserLevel {
-               FONT,
-               FACE,
-               FAMILY
+               FAMILY,
+               STYLE,
+               SIZE,
+               VARIATIONS,
+               FEATURES
        }
        [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_ICON_LOOKUP_", type_id = 
"gtk_icon_lookup_flags_get_type ()")]
        [Flags]
@@ -13774,8 +13792,6 @@ namespace Gtk {
        [CCode (cheader_filename = "gtk/gtk.h")]
        public static void drag_set_icon_paintable (Gdk.DragContext context, Gdk.Paintable paintable, int 
hot_x, int hot_y);
        [CCode (cheader_filename = "gtk/gtk.h")]
-       public static void drag_set_icon_surface (Gdk.DragContext context, Cairo.Surface surface);
-       [CCode (cheader_filename = "gtk/gtk.h")]
        public static void drag_set_icon_widget (Gdk.DragContext context, Gtk.Widget widget, int hot_x, int 
hot_y);
        [CCode (cheader_filename = "gtk/gtk.h")]
        public static void drag_source_add_image_targets (Gtk.Widget widget);
diff --git a/vapi/metadata/Gsk-4.0-custom.vala b/vapi/metadata/Gsk-4.0-custom.vala
index a7392c4..b25e557 100644
--- a/vapi/metadata/Gsk-4.0-custom.vala
+++ b/vapi/metadata/Gsk-4.0-custom.vala
@@ -37,6 +37,9 @@ namespace Gsk {
        public class LinearGradientNode : Gsk.RenderNode {
        }
        [CCode (cname = "GskRenderNode")]
+       public class OffsetNode : Gsk.RenderNode {
+       }
+       [CCode (cname = "GskRenderNode")]
        public class OpacityNode : Gsk.RenderNode {
        }
        [CCode (cname = "GskRenderNode")]
diff --git a/vapi/metadata/Gsk-4.0.metadata b/vapi/metadata/Gsk-4.0.metadata
index e284df8..99b4359 100644
--- a/vapi/metadata/Gsk-4.0.metadata
+++ b/vapi/metadata/Gsk-4.0.metadata
@@ -35,6 +35,9 @@ inset_shadow_node_new* parent="Gsk.InsetShadowNode" symbol_type="constructor" na
 linear_gradient_node_* parent="Gsk.LinearGradientNode" symbol_type="method" instance_idx=0 
name="linear_gradient_node_(.+)"
 linear_gradient_node_new* parent="Gsk.LinearGradientNode" symbol_type="constructor" 
name="linear_gradient_node_(.+)"
 
+offset_node_* parent="Gsk.OffsetNode" symbol_type="method" instance_idx=0 name="offset_node_(.+)"
+offset_node_new* parent="Gsk.OffsetNode" symbol_type="constructor" name="offset_node_(.+)"
+
 opacity_node_* parent="Gsk.OpacityNode" symbol_type="method" instance_idx=0 name="opacity_node_(.+)"
 opacity_node_new* parent="Gsk.OpacityNode" symbol_type="constructor" name="opacity_node_(.+)"
 
diff --git a/vapi/metadata/Gtk-4.0.metadata b/vapi/metadata/Gtk-4.0.metadata
index 957a027..d1d8d31 100644
--- a/vapi/metadata/Gtk-4.0.metadata
+++ b/vapi/metadata/Gtk-4.0.metadata
@@ -288,6 +288,7 @@ SelectionData
   .get_data skip=false
 Snapshot
   .free_to_node destroys_instance
+  .free_to_paintable destroys_instance
 render_* parent="Gtk.StyleContext"
 render_* symbol_type="method" instance_idx=0
 TextBuffer


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