From: Rico Tzschichholz Date: Tue, 19 Jul 2022 16:22:19 +0000 (+0200) Subject: gtk+-3.0: Correctly unhide BindingSet.by_class to avoid Version attribute X-Git-Tag: 0.54.9~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dbeab343b002c9b9dc4d641bf39710ed1929553d;p=thirdparty%2Fvala.git gtk+-3.0: Correctly unhide BindingSet.by_class to avoid Version attribute --- diff --git a/vapi/gtk+-3.0.vapi b/vapi/gtk+-3.0.vapi index f70360f3a..7d9af0d13 100644 --- a/vapi/gtk+-3.0.vapi +++ b/vapi/gtk+-3.0.vapi @@ -1089,8 +1089,6 @@ namespace Gtk { public bool activate (uint keyval, Gdk.ModifierType modifiers, GLib.Object object); [Version (deprecated = true, deprecated_since = "3.0")] public void add_path (Gtk.PathType path_type, string path_pattern, Gtk.PathPriorityType priority); - [CCode (cheader_filename = "gtk/gtk.h")] - [Version (replacement = "BindingSet.by_class")] public static unowned Gtk.BindingSet by_class ([CCode (type = "gpointer")] GLib.ObjectClass object_class); public static unowned Gtk.BindingSet? find (string set_name); public static unowned Gtk.BindingSet @new (string name); diff --git a/vapi/metadata/Gtk-3.0.metadata b/vapi/metadata/Gtk-3.0.metadata index 64019301b..5a1ac0c91 100644 --- a/vapi/metadata/Gtk-3.0.metadata +++ b/vapi/metadata/Gtk-3.0.metadata @@ -167,7 +167,8 @@ VSeparator deprecated_since="3.2" replacement="Separator" Activatable deprecated_since="3.10" // G-I cannot handle returning non-boxed types -binding_set_by_class skip=false +BindingSet + .by_class skip=false ContainerClass .find_child_property skip=false get_option_group skip=false @@ -690,7 +691,7 @@ Widget .intersect.intersection nullable unowned=false // Sure -binding_set_by_class.object_class type="GLib.ObjectClass" +BindingSet.by_class.object_class type="GLib.ObjectClass" ModuleInitFunc.argv ref unowned *.ref unowned