summaryrefslogtreecommitdiff
path: root/atk
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2012-12-28 16:37:17 +0000
committerEmmanuele Bassi <ebassi@gnome.org>2012-12-28 16:44:17 +0000
commit53fc14d0d19223d1964e5b34f41aa653a61a9c9e (patch)
treeef7a1b4261089556b97cb6bf98882bdb90d8babe /atk
parent4be5925ff700ea14aca81b021ee0544469ac837d (diff)
downloadatk-53fc14d0d19223d1964e5b34f41aa653a61a9c9e.tar.gz
Do not include atk.h from a public header
It creates a circular dependency on the headers, and tricks the introspection scanner to try and resolve the header multiple times. Reviewed-by: Alejandro PiƱeiro <apinheiro@igalia.com> Tested-by: Emmanuele Bassi <ebassi@gnome.org>
Diffstat (limited to 'atk')
-rw-r--r--atk/atkgobjectaccessible.c2
-rw-r--r--atk/atkgobjectaccessible.h2
2 files changed, 3 insertions, 1 deletions
diff --git a/atk/atkgobjectaccessible.c b/atk/atkgobjectaccessible.c
index e9ba0f3..ba87480 100644
--- a/atk/atkgobjectaccessible.c
+++ b/atk/atkgobjectaccessible.c
@@ -18,6 +18,8 @@
*/
#include <atk/atkgobjectaccessible.h>
+#include <atk/atkregistry.h>
+#include <atk/atkutil.h>
static void atk_gobject_accessible_class_init (AtkGObjectAccessibleClass *klass);
static void atk_real_gobject_accessible_initialize (AtkObject *atk_obj,
diff --git a/atk/atkgobjectaccessible.h b/atk/atkgobjectaccessible.h
index 13950ae..2901291 100644
--- a/atk/atkgobjectaccessible.h
+++ b/atk/atkgobjectaccessible.h
@@ -24,7 +24,7 @@
#ifndef __ATK_GOBJECT_ACCESSIBLE_H__
#define __ATK_GOBJECT_ACCESSIBLE_H__
-#include <atk/atk.h>
+#include <atk/atkobject.h>
G_BEGIN_DECLS