]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gtk+-3.0: Correctly unhide BindingSet.by_class to avoid Version attribute
authorRico Tzschichholz <ricotz@ubuntu.com>
Tue, 19 Jul 2022 16:22:19 +0000 (18:22 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Tue, 19 Jul 2022 16:22:19 +0000 (18:22 +0200)
vapi/gtk+-3.0.vapi
vapi/metadata/Gtk-3.0.metadata

index 6b61d3b91cd4af34cb250a2f68a0f4861cab26a2..5475415ad7b2344e0aa4121da07f32fa9fc9d36e 100644 (file)
@@ -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);
index 64019301b2c0d4312f2862a5e801821360cdde61..5a1ac0c9176f40b6dc967dbf017c1c01585809ba 100644 (file)
@@ -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