[vala/staging] atk-1.0: Adjust for upstream revert of Implementor using G_DEFINE_INTERFACE



commit 24338370ee894dee0a982f52ad1f818634798900
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Wed Feb 20 16:39:37 2019 +0100

    atk-1.0: Adjust for upstream revert of Implementor using G_DEFINE_INTERFACE
    
    See https://gitlab.gnome.org/GNOME/atk/commit/96d13ae47f6f77445483ee8a0d7d6569a95f35bf

 vapi/metadata/Atk-1.0-custom.vala | 4 ++++
 vapi/metadata/Atk-1.0.metadata    | 4 ++++
 2 files changed, 8 insertions(+)
---
diff --git a/vapi/metadata/Atk-1.0-custom.vala b/vapi/metadata/Atk-1.0-custom.vala
index 1ac8a121c..28476412b 100644
--- a/vapi/metadata/Atk-1.0-custom.vala
+++ b/vapi/metadata/Atk-1.0-custom.vala
@@ -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;
diff --git a/vapi/metadata/Atk-1.0.metadata b/vapi/metadata/Atk-1.0.metadata
index 2551db59c..06dc5fc29 100644
--- a/vapi/metadata/Atk-1.0.metadata
+++ b/vapi/metadata/Atk-1.0.metadata
@@ -45,3 +45,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


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