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




commit 3dbe4c46d2b6388eb1b39ac33311c2655fa9907d
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             | 2 --
 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
 


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