diff options
author | Rico Tzschichholz <ricotz@ubuntu.com> | 2022-07-19 18:22:19 +0200 |
---|---|---|
committer | Rico Tzschichholz <ricotz@ubuntu.com> | 2022-07-19 18:22:19 +0200 |
commit | 3dbe4c46d2b6388eb1b39ac33311c2655fa9907d (patch) | |
tree | ec91fb86855f42f38c2706303fbb34539ac55c49 /vapi | |
parent | 359c971a3b74aaa04cabcd6a8aa7eeb725173283 (diff) | |
download | vala-3dbe4c46d2b6388eb1b39ac33311c2655fa9907d.tar.gz |
gtk+-3.0: Correctly unhide BindingSet.by_class to avoid Version attribute
Diffstat (limited to 'vapi')
-rw-r--r-- | vapi/gtk+-3.0.vapi | 2 | ||||
-rw-r--r-- | vapi/metadata/Gtk-3.0.metadata | 5 |
2 files changed, 3 insertions, 4 deletions
diff --git a/vapi/gtk+-3.0.vapi b/vapi/gtk+-3.0.vapi index 6b61d3b91..5475415ad 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 |