a11y: Get rid of gtk.h includes in headers

This way, we can include them without accidentally including deprecated
code. Which means we can still use the recently added turning-off tricks
for deprecation warnings.
This commit is contained in:
Benjamin Otte 2011-11-10 17:03:10 +01:00
parent 2d3c36a021
commit 24b9599af7
6 changed files with 5 additions and 3 deletions

View File

@ -20,6 +20,7 @@
#ifndef __GTK_CONTAINER_ACCESSIBLE_H__
#define __GTK_CONTAINER_ACCESSIBLE_H__
#include "gtkcontainer.h"
#include "gtkwidgetaccessible.h"
G_BEGIN_DECLS

View File

@ -21,6 +21,7 @@
#include "gtkmenuaccessible.h"
#include <gtk/gtk.h>
G_DEFINE_TYPE (GtkMenuAccessible, _gtk_menu_accessible, GTK_TYPE_MENU_SHELL_ACCESSIBLE)

View File

@ -20,6 +20,7 @@
#ifndef __GTK_MENU_ACCESSIBLE_H__
#define __GTK_MENU_ACCESSIBLE_H__
#include "gtkmenu.h"
#include "gtkmenushellaccessible.h"
G_BEGIN_DECLS

View File

@ -20,7 +20,6 @@
#ifndef __GTK_SCALE_BUTTON_ACCESSIBLE_H__
#define __GTK_SCALE_BUTTON_ACCESSIBLE_H__
#include <gtk/gtk.h>
#include "gtkbuttonaccessible.h"
G_BEGIN_DECLS

View File

@ -20,7 +20,6 @@
#ifndef __GTK_TREE_VIEW_ACCESSIBLE_H__
#define __GTK_TREE_VIEW_ACCESSIBLE_H__
#include <gtk/gtk.h>
#include "gtkcontaineraccessible.h"
G_BEGIN_DECLS

View File

@ -20,7 +20,8 @@
#ifndef __GTK_WIDGET_ACCESSIBLE_H__
#define __GTK_WIDGET_ACCESSIBLE_H__
#include <gtk/gtk.h>
#include "gtk/gtkaccessible.h"
#include "gtk/gtkwidget.h"
G_BEGIN_DECLS