[atk] Do not include atk.h from a public header
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [atk] Do not include atk.h from a public header
- Date: Fri, 28 Dec 2012 16:45:06 +0000 (UTC)
commit 53fc14d0d19223d1964e5b34f41aa653a61a9c9e
Author: Emmanuele Bassi <ebassi gnome org>
Date: Fri Dec 28 16:37:17 2012 +0000
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>
atk/atkgobjectaccessible.c | 2 ++
atk/atkgobjectaccessible.h | 2 +-
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]