Commit ed2bcf01 authored by Alejandro Piñeiro's avatar Alejandro Piñeiro

Revert "atkimplementor: use the G_DEFINE_INTERFACE macro to declare it as...

Revert "atkimplementor: use the G_DEFINE_INTERFACE macro to declare it as interface in the introspection"

This change unintentionally changed the ABI and the introspection ABI.

Fixes:
   #1

This reverts commit 30f2712c.
parent 5e9341c6
......@@ -57,9 +57,6 @@
*
*/
typedef AtkImplementorIface AtkImplementorInterface;
G_DEFINE_INTERFACE (AtkImplementor, atk_implementor, G_TYPE_OBJECT)
static GPtrArray *role_names = NULL;
enum
......@@ -680,9 +677,24 @@ atk_object_init (AtkObject *accessible,
accessible->role = ATK_ROLE_UNKNOWN;
}
static void
atk_implementor_default_init (AtkImplementorInterface *iface)
GType
atk_implementor_get_type (void)
{
static GType type = 0;
if (!type)
{
static const GTypeInfo typeInfo =
{
sizeof (AtkImplementorIface),
(GBaseInitFunc) NULL,
(GBaseFinalizeFunc) NULL,
} ;
type = g_type_register_static (G_TYPE_INTERFACE, "AtkImplementorIface", &typeInfo, 0) ;
}
return type;
}
/**
......
......@@ -678,7 +678,7 @@ struct _AtkImplementorIface
};
ATK_AVAILABLE_IN_ALL
GType atk_implementor_get_type (void) G_GNUC_CONST;
GType atk_implementor_get_type (void);
ATK_AVAILABLE_IN_ALL
AtkObject* atk_implementor_ref_accessible (AtkImplementor *implementor);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment