[vala] gtk4: Don't rename binding for gtk_css_provider_load_from_data
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] gtk4: Don't rename binding for gtk_css_provider_load_from_data
- Date: Tue, 22 Dec 2020 15:48:34 +0000 (UTC)
commit ffd19b25b1cf8b4064a77f0592890ab864b167b4
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Tue Dec 22 15:45:49 2020 +0100
gtk4: Don't rename binding for gtk_css_provider_load_from_data
Fixes https://gitlab.gnome.org/GNOME/vala/issues/1117
vapi/gtk4.vapi | 3 +--
vapi/metadata/Gtk-4.0.metadata | 2 --
2 files changed, 1 insertion(+), 4 deletions(-)
---
diff --git a/vapi/gtk4.vapi b/vapi/gtk4.vapi
index 49640c14b..f76e4b161 100644
--- a/vapi/gtk4.vapi
+++ b/vapi/gtk4.vapi
@@ -7646,8 +7646,7 @@ namespace Gtk {
public class CssProvider : GLib.Object, Gtk.StyleProvider {
[CCode (has_construct_function = false)]
public CssProvider ();
- [CCode (cname = "gtk_css_provider_load_from_data")]
- public void load_from_buffer ([CCode (array_length_cname = "length", array_length_pos = 1.1,
array_length_type = "gssize")] uint8[] data);
+ public void load_from_data ([CCode (array_length_cname = "length", array_length_pos = 1.1,
array_length_type = "gssize")] uint8[] data);
public void load_from_file (GLib.File file);
public void load_from_path (string path);
public void load_from_resource (string resource_path);
diff --git a/vapi/metadata/Gtk-4.0.metadata b/vapi/metadata/Gtk-4.0.metadata
index 316edfc93..3d2b5ada4 100644
--- a/vapi/metadata/Gtk-4.0.metadata
+++ b/vapi/metadata/Gtk-4.0.metadata
@@ -261,8 +261,6 @@ value_take_expression.value ref
BuildableParser skip
// Backwards compatibility
-CssProvider
- .load_from_data name="load_from_buffer"
EntryBuffer
.new.initial_chars type="uint8[]?" array_length_idx=1
.emit_inserted_text.chars type="uint8[]" array_length_idx=2
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]