]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
atk-1.0: Adjust for upstream revert of Implementor using G_DEFINE_INTERFACE
authorRico Tzschichholz <ricotz@ubuntu.com>
Wed, 20 Feb 2019 15:39:37 +0000 (16:39 +0100)
committerRico Tzschichholz <ricotz@ubuntu.com>
Tue, 26 Feb 2019 16:53:41 +0000 (17:53 +0100)
See https://gitlab.gnome.org/GNOME/atk/commit/96d13ae47f6f77445483ee8a0d7d6569a95f35bf

vapi/metadata/Atk-1.0-custom.vala
vapi/metadata/Atk-1.0.metadata

index f82bc919e656b1a729f4d3105c36337c6aa350e8..bdf9feb24a0dc97f6b5cdec3ae442f1ae9089fa9 100644 (file)
@@ -2,6 +2,10 @@ namespace Atk {
        [Compact]
        public class AttributeSet : GLib.SList<Atk.Attribute?> {
        }
+       [CCode (cheader_filename = "atk/atk.h", type_id = "atk_implementor_get_type ()")]
+       public interface Implementor : GLib.Object {
+               public abstract Atk.Object ref_accessible ();
+       }
        public class Registry : GLib.Object {
                [Version (deprecated = true)]
                public weak GLib.HashTable<GLib.Type,Atk.ObjectFactory> factory_singleton_cache;
index b3c34c24294978b5702c86806b61a376303f8d13..45097898c8f7d4430db59a065dfb73b20e8689d3 100644 (file)
@@ -48,3 +48,7 @@ Component.add_focus_handler skip=false
 // Ownership of fields
 TextRange.content unowned=false
 Attribute.* unowned=false
+
+// Should be fixed upstream
+// https://gitlab.gnome.org/GNOME/atk/commit/96d13ae47f6f77445483ee8a0d7d6569a95f35bf
+Implementor* skip // g-ir-scanner doesn't realize this is an interface