summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRico Tzschichholz <ricotz@ubuntu.com>2017-08-01 17:34:03 +0200
committerRico Tzschichholz <ricotz@ubuntu.com>2017-08-01 17:34:03 +0200
commit9aadb7843e9ac16bda9ba7a5529af5068d30977e (patch)
tree2f878abdf9911de730fa24656dcd6ef70e229c95
parent1eaec152744228ed13fea24ec950c9ffcdff262b (diff)
downloadvala-9aadb7843e9ac16bda9ba7a5529af5068d30977e.tar.gz
vapi: Update GIR-based bindings
-rw-r--r--vapi/gdk-pixbuf-2.0.vapi2
-rw-r--r--vapi/gstreamer-1.0.vapi20
-rw-r--r--vapi/gtk+-4.0.vapi109
-rw-r--r--vapi/libnotify.vapi2
-rw-r--r--vapi/webkit2gtk-4.0.vapi5
-rw-r--r--vapi/webkit2gtk-web-extension-4.0.vapi4
6 files changed, 71 insertions, 71 deletions
diff --git a/vapi/gdk-pixbuf-2.0.vapi b/vapi/gdk-pixbuf-2.0.vapi
index d9387d361..1497ff2dc 100644
--- a/vapi/gdk-pixbuf-2.0.vapi
+++ b/vapi/gdk-pixbuf-2.0.vapi
@@ -9,6 +9,8 @@ namespace Gdk {
public Gdk.Pixbuf add_alpha (bool substitute_color, uint8 r, uint8 g, uint8 b);
[Version (since = "2.12")]
public Gdk.Pixbuf apply_embedded_orientation ();
+ [Version (since = "2.36.8")]
+ public static int calculate_rowstride (Gdk.Colorspace colorspace, bool has_alpha, int bits_per_sample, int width, int height);
public void composite (Gdk.Pixbuf dest, int dest_x, int dest_y, int dest_width, int dest_height, double offset_x, double offset_y, double scale_x, double scale_y, Gdk.InterpType interp_type, int overall_alpha);
public void composite_color (Gdk.Pixbuf dest, int dest_x, int dest_y, int dest_width, int dest_height, double offset_x, double offset_y, double scale_x, double scale_y, Gdk.InterpType interp_type, int overall_alpha, int check_x, int check_y, int check_size, uint32 color1, uint32 color2);
public Gdk.Pixbuf composite_color_simple (int dest_width, int dest_height, Gdk.InterpType interp_type, int overall_alpha, int check_size, uint32 color1, uint32 color2);
diff --git a/vapi/gstreamer-1.0.vapi b/vapi/gstreamer-1.0.vapi
index 9dccb045c..d9ddbe905 100644
--- a/vapi/gstreamer-1.0.vapi
+++ b/vapi/gstreamer-1.0.vapi
@@ -12,6 +12,9 @@ namespace Gst {
[CCode (cheader_filename = "gst/gst.h")]
public static void add_log_function (owned Gst.LogFunction func);
[CCode (cheader_filename = "gst/gst.h")]
+ [Version (since = "1.14")]
+ public static void add_ring_buffer_logger (uint max_size_per_thread, uint thread_timeout);
+ [CCode (cheader_filename = "gst/gst.h")]
public static string bin_to_dot_data (Gst.Bin bin, Gst.DebugGraphDetails details);
[CCode (cheader_filename = "gst/gst.h")]
public static void bin_to_dot_file (Gst.Bin bin, Gst.DebugGraphDetails details, string file_name);
@@ -51,6 +54,12 @@ namespace Gst {
[CCode (cheader_filename = "gst/gst.h")]
public static uint remove_log_function_by_data (void* data);
[CCode (cheader_filename = "gst/gst.h")]
+ [Version (since = "1.14")]
+ public static void remove_ring_buffer_logger ();
+ [CCode (array_length = false, array_null_terminated = true, cheader_filename = "gst/gst.h")]
+ [Version (since = "1.14")]
+ public static string[] ring_buffer_logger_get_logs ();
+ [CCode (cheader_filename = "gst/gst.h")]
public static void set_active (bool active);
[CCode (cheader_filename = "gst/gst.h")]
[Version (since = "1.2")]
@@ -2179,7 +2188,7 @@ namespace Gst {
public bool clip (Gst.Format format, uint64 start, uint64 stop, out uint64 clip_start, out uint64 clip_stop);
public Gst.Segment copy ();
public void copy_into (Gst.Segment dest);
- public bool do_seek (double rate, Gst.Format format, Gst.SeekFlags flags, Gst.SeekType start_type, uint64 start, Gst.SeekType stop_type, uint64 stop, bool update);
+ public bool do_seek (double rate, Gst.Format format, Gst.SeekFlags flags, Gst.SeekType start_type, uint64 start, Gst.SeekType stop_type, uint64 stop, out bool update);
public void free ();
public void init (Gst.Format format);
[Version (since = "1.6")]
@@ -2189,20 +2198,20 @@ namespace Gst {
[Version (since = "1.8")]
public uint64 position_from_running_time (Gst.Format format, uint64 running_time);
[Version (since = "1.8")]
- public int position_from_running_time_full (Gst.Format format, uint64 running_time, uint64 position);
+ public int position_from_running_time_full (Gst.Format format, uint64 running_time, out uint64 position);
[Version (since = "1.8")]
public uint64 position_from_stream_time (Gst.Format format, uint64 stream_time);
[Version (since = "1.8")]
- public int position_from_stream_time_full (Gst.Format format, uint64 stream_time, uint64 position);
+ public int position_from_stream_time_full (Gst.Format format, uint64 stream_time, out uint64 position);
public bool set_running_time (Gst.Format format, uint64 running_time);
public uint64 to_position (Gst.Format format, uint64 running_time);
public uint64 to_running_time (Gst.Format format, uint64 position);
[Version (since = "1.6")]
- public int to_running_time_full (Gst.Format format, uint64 position, uint64 running_time);
+ public int to_running_time_full (Gst.Format format, uint64 position, out uint64 running_time);
[Version (since = "1.8")]
public uint64 to_stream_time (Gst.Format format, uint64 position);
[Version (since = "1.8")]
- public int to_stream_time_full (Gst.Format format, uint64 position, uint64 stream_time);
+ public int to_stream_time_full (Gst.Format format, uint64 position, out uint64 stream_time);
}
[CCode (cheader_filename = "gst/gst.h", type_id = "gst_stream_get_type ()")]
public class Stream : Gst.Object {
@@ -3465,6 +3474,7 @@ namespace Gst {
PLAYING
}
[CCode (cheader_filename = "gst/gst.h", cprefix = "GST_STATE_CHANGE_", type_id = "gst_state_change_get_type ()")]
+ [Flags]
public enum StateChange {
NULL_TO_READY,
READY_TO_PAUSED,
diff --git a/vapi/gtk+-4.0.vapi b/vapi/gtk+-4.0.vapi
index ad18eeece..856676fae 100644
--- a/vapi/gtk+-4.0.vapi
+++ b/vapi/gtk+-4.0.vapi
@@ -6637,13 +6637,6 @@ namespace Gdk {
COMBO,
DND
}
- [CCode (cheader_filename = "gdk/gdk.h", cprefix = "GDK_INPUT_", type_id = "gdk_window_window_class_get_type ()")]
- public enum WindowWindowClass {
- [CCode (cname = "GDK_INPUT_OUTPUT")]
- INPUT_OUTPUT,
- [CCode (cname = "GDK_INPUT_ONLY")]
- INPUT_ONLY
- }
[CCode (cheader_filename = "gdk/gdk.h", cprefix = "GDK_GL_ERROR_")]
[Version (since = "3.16")]
public errordomain GLError {
@@ -7234,21 +7227,27 @@ namespace Gtk {
public virtual signal void accel_changed (uint keyval, Gdk.ModifierType modifier, GLib.Closure accel_closure);
}
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_accel_label_get_type ()")]
- public class AccelLabel : Gtk.Label, Atk.Implementor, Gtk.Buildable {
+ public class AccelLabel : Gtk.Widget, Atk.Implementor, Gtk.Buildable {
[CCode (has_construct_function = false, type = "GtkWidget*")]
public AccelLabel (string string);
[Version (since = "3.12")]
public void get_accel (out uint accelerator_key, out Gdk.ModifierType accelerator_mods);
public unowned Gtk.Widget? get_accel_widget ();
public uint get_accel_width ();
+ public unowned string get_label ();
+ public bool get_use_underline ();
public bool refetch ();
[Version (since = "3.6")]
public void set_accel (uint accelerator_key, Gdk.ModifierType accelerator_mods);
public void set_accel_closure ([CCode (type = "GClosure*")] owned Gtk.AccelGroupActivate accel_closure);
public void set_accel_widget (Gtk.Widget accel_widget);
+ public void set_label (string text);
+ public void set_use_underline (bool setting);
[NoAccessorMethod]
public GLib.Closure accel_closure { owned get; set; }
public Gtk.Widget accel_widget { get; set; }
+ public string label { get; set; }
+ public bool use_underline { get; set; }
}
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_accel_map_get_type ()")]
public class AccelMap : GLib.Object {
@@ -7305,6 +7304,7 @@ namespace Gtk {
public void set_center_widget (Gtk.Widget? center_widget);
[Version (since = "3.90")]
public void set_revealed (bool revealed);
+ public bool revealed { get; set; }
}
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_adjustment_get_type ()")]
public class Adjustment : GLib.InitiallyUnowned {
@@ -7447,7 +7447,7 @@ namespace Gtk {
[Version (since = "3.14")]
public string[] get_actions_for_accel (string accel);
[Version (since = "3.6")]
- public unowned Gtk.Window get_active_window ();
+ public unowned Gtk.Window? get_active_window ();
[Version (since = "3.4")]
public unowned GLib.MenuModel? get_app_menu ();
[Version (since = "3.14")]
@@ -8392,6 +8392,12 @@ namespace Gtk {
[Version (since = "3.92")]
public Gtk.BaselinePosition get_baseline_position ();
[Version (since = "3.92")]
+ public unowned Gtk.Widget get_center_widget ();
+ [Version (since = "3.92")]
+ public unowned Gtk.Widget get_end_widget ();
+ [Version (since = "3.92")]
+ public unowned Gtk.Widget get_start_widget ();
+ [Version (since = "3.92")]
public void set_baseline_position (Gtk.BaselinePosition position);
[Version (since = "3.92")]
public void set_center_widget (Gtk.Widget child);
@@ -8428,8 +8434,6 @@ namespace Gtk {
[Version (since = "2.4")]
public void set_draw_as_radio (bool draw_as_radio);
public void set_inconsistent (bool setting);
- [NoWrapper]
- public virtual void snapshot_indicator (Gtk.Snapshot snapshot);
[CCode (has_construct_function = false, type = "GtkWidget*")]
public CheckMenuItem.with_label (string label);
[CCode (has_construct_function = false, type = "GtkWidget*")]
@@ -9212,13 +9216,8 @@ namespace Gtk {
[Version (since = "2.4")]
public bool get_above_child ();
[Version (since = "2.4")]
- public bool get_visible_window ();
- [Version (since = "2.4")]
public void set_above_child (bool above_child);
- [Version (since = "2.4")]
- public void set_visible_window (bool visible_window);
public bool above_child { get; set; }
- public bool visible_window { get; set; }
}
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_event_controller_get_type ()")]
public abstract class EventController : GLib.Object {
@@ -9240,7 +9239,7 @@ namespace Gtk {
public Gtk.Widget widget { get; construct; }
}
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_expander_get_type ()")]
- public class Expander : Gtk.Bin, Atk.Implementor, Gtk.Buildable {
+ public class Expander : Gtk.Container, Atk.Implementor, Gtk.Buildable {
[CCode (has_construct_function = false, type = "GtkWidget*")]
[Version (since = "2.4")]
public Expander (string label);
@@ -10022,8 +10021,6 @@ namespace Gtk {
[CCode (has_construct_function = false, type = "GtkWidget*")]
[Version (since = "2.6")]
public IconView ();
- [Version (since = "2.12")]
- public void convert_widget_to_bin_window_coords (int wx, int wy, out int bx, out int by);
[Version (since = "2.8")]
public Cairo.Surface create_drag_icon (Gtk.TreePath path);
[Version (since = "2.8")]
@@ -10458,8 +10455,6 @@ namespace Gtk {
public class Layout : Gtk.Container, Atk.Implementor, Gtk.Buildable, Gtk.Scrollable {
[CCode (has_construct_function = false, type = "GtkWidget*")]
public Layout (Gtk.Adjustment? hadjustment = null, Gtk.Adjustment? vadjustment = null);
- [Version (since = "2.14")]
- public unowned Gdk.Window get_bin_window ();
public void get_size (out uint width, out uint height);
public void move (Gtk.Widget child_widget, int x, int y);
public void put (Gtk.Widget child_widget, int x, int y);
@@ -11124,7 +11119,7 @@ namespace Gtk {
public bool get_show_tabs ();
[Version (since = "2.10")]
public bool get_tab_detachable (Gtk.Widget child);
- public unowned Gtk.Widget get_tab_label (Gtk.Widget child);
+ public unowned Gtk.Widget? get_tab_label (Gtk.Widget child);
public unowned string? get_tab_label_text (Gtk.Widget child);
public Gtk.PositionType get_tab_pos ();
[Version (since = "2.10")]
@@ -11297,8 +11292,6 @@ namespace Gtk {
public unowned Gtk.Widget? get_child1 ();
[Version (since = "2.4")]
public unowned Gtk.Widget? get_child2 ();
- [Version (since = "2.20")]
- public unowned Gdk.Window get_handle_window ();
public int get_position ();
[Version (since = "3.16")]
public bool get_wide_handle ();
@@ -11966,7 +11959,7 @@ namespace Gtk {
public Gtk.RadioToolButton group { set; }
}
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_range_get_type ()")]
- public abstract class Range : Gtk.Widget, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
+ public class Range : Gtk.Widget, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
[CCode (has_construct_function = false)]
protected Range ();
public unowned Gtk.Adjustment get_adjustment ();
@@ -11975,7 +11968,6 @@ namespace Gtk {
[Version (since = "2.18")]
public bool get_flippable ();
public bool get_inverted ();
- [Version (since = "2.10")]
public Gtk.SensitivityType get_lower_stepper_sensitivity ();
[NoWrapper]
public virtual Gtk.Border get_range_border ();
@@ -11993,7 +11985,6 @@ namespace Gtk {
public void get_slider_range (out int slider_start, out int slider_end);
[Version (since = "2.20")]
public bool get_slider_size_fixed ();
- [Version (since = "2.10")]
public Gtk.SensitivityType get_upper_stepper_sensitivity ();
public double get_value ();
public void set_adjustment (Gtk.Adjustment adjustment);
@@ -12003,7 +11994,6 @@ namespace Gtk {
public void set_flippable (bool flippable);
public void set_increments (double step, double page);
public void set_inverted (bool setting);
- [Version (since = "2.10")]
public void set_lower_stepper_sensitivity (Gtk.SensitivityType sensitivity);
public void set_range (double min, double max);
[Version (since = "2.12")]
@@ -12014,21 +12004,18 @@ namespace Gtk {
public void set_show_fill_level (bool show_fill_level);
[Version (since = "2.20")]
public void set_slider_size_fixed (bool size_fixed);
- [Version (since = "2.10")]
public void set_upper_stepper_sensitivity (Gtk.SensitivityType sensitivity);
public void set_value (double value);
public Gtk.Adjustment adjustment { get; set construct; }
[Version (since = "2.12")]
public double fill_level { get; set; }
public bool inverted { get; set; }
- public Gtk.SensitivityType lower_stepper_sensitivity { get; set; }
[Version (since = "2.12")]
public bool restrict_to_fill_level { get; set; }
[Version (since = "2.24")]
public int round_digits { get; set; }
[Version (since = "2.12")]
public bool show_fill_level { get; set; }
- public Gtk.SensitivityType upper_stepper_sensitivity { get; set; }
public virtual signal void adjust_bounds (double new_value);
[Version (since = "2.6")]
public virtual signal bool change_value (Gtk.ScrollType scroll, double new_value);
@@ -12214,7 +12201,7 @@ namespace Gtk {
[Version (since = "3.0")]
public Scale.with_range (Gtk.Orientation orientation, double min, double max, double step);
public int digits { get; set; }
- public virtual bool draw_value { get; set; }
+ public bool draw_value { get; set; }
public bool has_origin { get; set; }
public Gtk.PositionType value_pos { get; set; }
public virtual signal string format_value (double value);
@@ -12266,10 +12253,14 @@ namespace Gtk {
protected ScaleButtonAccessible ();
}
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_scrollbar_get_type ()")]
- public class Scrollbar : Gtk.Range, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
+ public class Scrollbar : Gtk.Widget, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
[CCode (has_construct_function = false, type = "GtkWidget*")]
[Version (since = "3.0")]
public Scrollbar (Gtk.Orientation orientation, Gtk.Adjustment? adjustment);
+ public unowned Gtk.Adjustment get_adjustment ();
+ public double get_wheel_delta (Gdk.EventScroll event);
+ public void set_adjustment (Gtk.Adjustment? adjustment);
+ public Gtk.Adjustment adjustment { get; set construct; }
}
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_scrolled_window_get_type ()")]
public class ScrolledWindow : Gtk.Bin, Atk.Implementor, Gtk.Buildable {
@@ -12735,28 +12726,40 @@ namespace Gtk {
public void render_layout (Gtk.StyleContext context, double x, double y, Pango.Layout layout);
}
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_spin_button_get_type ()")]
- public class SpinButton : Gtk.Entry, Atk.Implementor, Gtk.Buildable, Gtk.CellEditable, Gtk.Editable, Gtk.Orientable {
+ public class SpinButton : Gtk.Widget, Atk.Implementor, Gtk.Buildable, Gtk.Editable, Gtk.Orientable {
[CCode (has_construct_function = false, type = "GtkWidget*")]
public SpinButton (Gtk.Adjustment? adjustment, double climb_rate, uint digits);
public void configure (Gtk.Adjustment? adjustment, double climb_rate, uint digits);
public unowned Gtk.Adjustment get_adjustment ();
public uint get_digits ();
public void get_increments (out double step, out double page);
+ [Version (since = "3.92")]
+ public int get_max_width_chars ();
public bool get_numeric ();
public void get_range (out double min, out double max);
public bool get_snap_to_ticks ();
+ [Version (since = "3.92")]
+ public unowned string get_text ();
public Gtk.SpinButtonUpdatePolicy get_update_policy ();
public double get_value ();
public int get_value_as_int ();
+ [Version (since = "3.92")]
+ public int get_width_chars ();
public bool get_wrap ();
public void set_adjustment (Gtk.Adjustment adjustment);
public void set_digits (uint digits);
public void set_increments (double step, double page);
+ [Version (since = "3.92")]
+ public void set_max_width_chars (int max_width_chars);
public void set_numeric (bool numeric);
public void set_range (double min, double max);
public void set_snap_to_ticks (bool snap_to_ticks);
+ [Version (since = "3.92")]
+ public void set_text (string text);
public void set_update_policy (Gtk.SpinButtonUpdatePolicy policy);
public void set_value (double value);
+ [Version (since = "3.92")]
+ public void set_width_chars (int width_chars);
public void set_wrap (bool wrap);
public void spin (Gtk.SpinType direction, double increment);
public void update ();
@@ -12766,10 +12769,13 @@ namespace Gtk {
[NoAccessorMethod]
public double climb_rate { get; set; }
public uint digits { get; set; }
+ public int max_width_chars { get; set; }
public bool numeric { get; set; }
public bool snap_to_ticks { get; set; }
+ public string text { get; set; }
public Gtk.SpinButtonUpdatePolicy update_policy { get; set; }
public double value { get; set; }
+ public int width_chars { get; set; }
public bool wrap { get; set; }
public virtual signal void change_value (Gtk.ScrollType scroll);
public virtual signal int input (out double new_value);
@@ -12779,7 +12785,7 @@ namespace Gtk {
public virtual signal void wrapped ();
}
[CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_spin_button_accessible_get_type ()")]
- public class SpinButtonAccessible : Gtk.EntryAccessible, Atk.Action, Atk.Component, Atk.EditableText, Atk.Text, Atk.Value {
+ public class SpinButtonAccessible : Gtk.WidgetAccessible, Atk.Component, Atk.Value {
[CCode (has_construct_function = false)]
protected SpinButtonAccessible ();
}
@@ -12890,7 +12896,7 @@ namespace Gtk {
public Gtk.Stack stack { get; set construct; }
}
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_statusbar_get_type ()")]
- public class Statusbar : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
+ public class Statusbar : Gtk.Widget, Atk.Implementor, Gtk.Buildable {
[CCode (has_construct_function = false, type = "GtkWidget*")]
public Statusbar ();
public uint get_context_id (string context_description);
@@ -12948,11 +12954,6 @@ namespace Gtk {
[Version (since = "3.0")]
public Gtk.StateFlags get_state ();
[Version (since = "3.0")]
- public void get_style (...);
- public void get_style_property (string property_name, GLib.Value value);
- [Version (since = "3.0")]
- public void get_style_valist ([CCode (type = "va_list")] va_list args);
- [Version (since = "3.0")]
public void get_valist ([CCode (type = "va_list")] va_list args);
[Version (since = "3.0")]
public bool has_class (string class_name);
@@ -13240,7 +13241,7 @@ namespace Gtk {
public unowned Gtk.TextBuffer get_buffer ();
public bool get_deleted ();
public bool get_left_gravity ();
- public unowned string get_name ();
+ public unowned string? get_name ();
public bool get_visible ();
public void set_visible (bool setting);
public bool left_gravity { get; construct; }
@@ -14349,9 +14350,6 @@ namespace Gtk {
public void draw_to_cairo_context (Cairo.Context cr);
[Version (since = "2.12")]
public void error_bell ();
- [CCode (cname = "gtk_widget_class_find_style_property")]
- [Version (since = "2.2")]
- public class unowned GLib.ParamSpec find_style_property (string property_name);
public void freeze_child_notify ();
public virtual unowned Atk.Object get_accessible ();
[Version (since = "3.16")]
@@ -14478,8 +14476,6 @@ namespace Gtk {
public void insert_after (Gtk.Widget parent, Gtk.Widget? previous_sibling);
[Version (since = "3.92")]
public void insert_before (Gtk.Widget parent, Gtk.Widget? next_sibling);
- [CCode (cname = "gtk_widget_class_install_style_property")]
- public class void install_style_property (GLib.ParamSpec pspec);
public bool intersect (Gdk.Rectangle area, out Gdk.Rectangle? intersection = null);
public bool is_ancestor (Gtk.Widget ancestor);
[Version (since = "2.18")]
@@ -14503,10 +14499,8 @@ namespace Gtk {
public void queue_compute_expand ();
public void queue_draw ();
public void queue_draw_area (int x, int y, int width, int height);
- [NoWrapper]
- public virtual void queue_draw_child (Gtk.Widget child, Cairo.Region region);
[Version (since = "3.0")]
- public virtual void queue_draw_region (Cairo.Region region);
+ public void queue_draw_region (Cairo.Region region);
public void queue_resize ();
[Version (since = "2.4")]
public void queue_resize_no_redraw ();
@@ -14529,14 +14523,10 @@ namespace Gtk {
[Version (since = "3.2")]
public class void set_accessible_type (GLib.Type type);
[Version (since = "2.18")]
- public void set_allocation (Gtk.Allocation allocation);
- [Version (since = "2.18")]
public void set_can_default (bool can_default);
[Version (since = "2.18")]
public void set_can_focus (bool can_focus);
public void set_child_visible (bool is_visible);
- [Version (since = "3.14")]
- public void set_clip (Gtk.Allocation clip);
[CCode (cname = "gtk_widget_class_set_connect_func")]
[Version (since = "3.10")]
public class void set_connect_func (owned Gtk.BuilderConnectFunc connect_func);
@@ -14606,13 +14596,9 @@ namespace Gtk {
[Version (since = "3.0")]
public void shape_combine_region (Cairo.Region? region);
public void show_now ();
- [Version (since = "3.10")]
- public void size_allocate_with_baseline (Gtk.Allocation allocation, int baseline);
[NoWrapper]
public virtual void snapshot (Gtk.Snapshot snapshot);
public void snapshot_child (Gtk.Widget child, Gtk.Snapshot snapshot);
- public void style_get (...);
- public void style_get_valist (string first_property_name, [CCode (type = "va_list")] va_list var_args);
public void thaw_child_notify ();
public bool translate_coordinates (Gtk.Widget dest_widget, int src_x, int src_y, out int dest_x, out int dest_y);
[Version (since = "2.12")]
@@ -14754,7 +14740,7 @@ namespace Gtk {
[HasEmitter]
public virtual signal void show ();
[HasEmitter]
- public virtual signal void size_allocate (Gtk.Allocation allocation);
+ public virtual signal void size_allocate (Gtk.Allocation allocation, int baseline, Gtk.Allocation out_clip);
[Version (since = "3.0")]
public virtual signal void state_flags_changed (Gtk.StateFlags previous_state_flags);
[Version (since = "3.0")]
@@ -14894,7 +14880,7 @@ namespace Gtk {
public unowned string? get_role ();
[Version (since = "2.2")]
public unowned Gdk.Screen get_screen ();
- public void get_size (out int? width, out int? height);
+ public void get_size (out int width, out int height);
[Version (since = "2.2")]
public bool get_skip_pager_hint ();
[Version (since = "2.2")]
@@ -15564,8 +15550,6 @@ namespace Gtk {
}
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_style_provider_get_type ()")]
public interface StyleProvider : GLib.Object {
- [Version (since = "3.0")]
- public abstract bool get_style_property (Gtk.WidgetPath path, Gtk.StateFlags state, GLib.ParamSpec pspec, out GLib.Value value);
}
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_tool_shell_get_type ()")]
public interface ToolShell : Gtk.Widget {
@@ -17278,7 +17262,6 @@ namespace Gtk {
[Version (since = "2.4")]
public static bool bindings_activate_event (GLib.Object object, Gdk.EventKey event);
[CCode (cheader_filename = "gtk/gtk.h")]
- [Version (since = "3.0")]
public static void cairo_transform_to_window (Cairo.Context cr, Gtk.Widget widget, Gdk.Window window);
[CCode (cheader_filename = "gtk/gtk.h")]
public static unowned string? check_version (uint required_major, uint required_minor, uint required_micro);
diff --git a/vapi/libnotify.vapi b/vapi/libnotify.vapi
index ba2eb7ae4..ca82298e6 100644
--- a/vapi/libnotify.vapi
+++ b/vapi/libnotify.vapi
@@ -48,7 +48,7 @@ namespace Notify {
public string summary { owned get; set construct; }
public virtual signal void closed ();
}
- [CCode (cheader_filename = "libnotify/notify.h", cprefix = "NOTIFY_URGENCY_", has_type_id = false)]
+ [CCode (cheader_filename = "libnotify/notify.h", cprefix = "NOTIFY_URGENCY_", type_id = "notify_urgency_get_type ()")]
public enum Urgency {
LOW,
NORMAL,
diff --git a/vapi/webkit2gtk-4.0.vapi b/vapi/webkit2gtk-4.0.vapi
index fa3f99e49..ea1126498 100644
--- a/vapi/webkit2gtk-4.0.vapi
+++ b/vapi/webkit2gtk-4.0.vapi
@@ -992,8 +992,6 @@ namespace WebKit {
public void load_plain_text (string plain_text);
public void load_request (WebKit.URIRequest request);
public void load_uri (string uri);
- [Version (since = "2.4")]
- public Gtk.Widget new_with_related_view ();
public void reload ();
public void reload_bypass_cache ();
[Version (since = "2.12")]
@@ -1017,6 +1015,9 @@ namespace WebKit {
[CCode (has_construct_function = false, type = "GtkWidget*")]
public WebView.with_context (WebKit.WebContext context);
[CCode (has_construct_function = false, type = "GtkWidget*")]
+ [Version (since = "2.4")]
+ public WebView.with_related_view (WebKit.WebView web_view);
+ [CCode (has_construct_function = false, type = "GtkWidget*")]
[Version (since = "2.6")]
public WebView.with_settings (WebKit.Settings settings);
[CCode (has_construct_function = false, type = "GtkWidget*")]
diff --git a/vapi/webkit2gtk-web-extension-4.0.vapi b/vapi/webkit2gtk-web-extension-4.0.vapi
index 5a9d2f6ea..2b124c7df 100644
--- a/vapi/webkit2gtk-web-extension-4.0.vapi
+++ b/vapi/webkit2gtk-web-extension-4.0.vapi
@@ -2933,6 +2933,7 @@ namespace WebKit {
public bool context_is_link ();
public bool context_is_media ();
public bool context_is_scrollbar ();
+ [Version (since = "2.8")]
public bool context_is_selection ();
public uint get_context ();
public unowned string get_image_uri ();
@@ -2962,6 +2963,7 @@ namespace WebKit {
[CCode (has_construct_function = false)]
public URIRequest (string uri);
public unowned Soup.MessageHeaders get_http_headers ();
+ [Version (since = "2.12")]
public unowned string get_http_method ();
public unowned string get_uri ();
public void set_uri (string uri);
@@ -2972,12 +2974,14 @@ namespace WebKit {
[CCode (has_construct_function = false)]
protected URIResponse ();
public uint64 get_content_length ();
+ [Version (since = "2.6")]
public unowned Soup.MessageHeaders get_http_headers ();
public unowned string get_mime_type ();
public uint get_status_code ();
public unowned string get_suggested_filename ();
public unowned string get_uri ();
public uint64 content_length { get; }
+ [Version (since = "2.6")]
public Soup.MessageHeaders http_headers { get; }
public string mime_type { get; }
public uint status_code { get; }