]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gtk4: Don't rename binding for gtk_css_provider_load_from_data
authorRico Tzschichholz <ricotz@ubuntu.com>
Tue, 22 Dec 2020 14:45:49 +0000 (15:45 +0100)
committerRico Tzschichholz <ricotz@ubuntu.com>
Tue, 22 Dec 2020 14:45:49 +0000 (15:45 +0100)
Fixes https://gitlab.gnome.org/GNOME/vala/issues/1117

vapi/gtk4.vapi
vapi/metadata/Gtk-4.0.metadata

index 49640c14b0944811d188863c375d2015668dac2b..f76e4b161c2677e7cf1246d7c3b7d966cfb1f13a 100644 (file)
@@ -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);
index 316edfc9386e7547f319bd68f476c8139c87c0df..3d2b5ada4a1ffb6a693a3930a62f355c8acb1a9b 100644 (file)
@@ -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