[vala/0.48] gtk+-3.0: Correctly unhide BindingSet.by_class to avoid Version attribute



commit 1a4a09d5399002542b8cf28f9e0f70aef9dbdb9e
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Tue Jul 19 18:22:19 2022 +0200

    gtk+-3.0: Correctly unhide BindingSet.by_class to avoid Version attribute

 vapi/gtk+-3.0.vapi             | 1 -
 vapi/metadata/Gtk-3.0.metadata | 5 +++--
 2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/vapi/gtk+-3.0.vapi b/vapi/gtk+-3.0.vapi
index d963e7f20..807c8e6df 100644
--- a/vapi/gtk+-3.0.vapi
+++ b/vapi/gtk+-3.0.vapi
@@ -1093,7 +1093,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")]
                public static unowned Gtk.BindingSet by_class ([CCode (type = "gpointer")] GLib.ObjectClass 
object_class);
                [CCode (cheader_filename = "gtk/gtk.h")]
                public static unowned Gtk.BindingSet? find (string set_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
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]