Commit 24b9599a authored by Benjamin Otte's avatar Benjamin Otte

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.
parent 2d3c36a0
......@@ -20,6 +20,7 @@
#ifndef __GTK_CONTAINER_ACCESSIBLE_H__
#define __GTK_CONTAINER_ACCESSIBLE_H__
#include "gtkcontainer.h"
#include "gtkwidgetaccessible.h"
G_BEGIN_DECLS
......
......@@ -21,6 +21,7 @@
#include "gtkmenuaccessible.h"
#include <gtk/gtk.h>
G_DEFINE_TYPE (GtkMenuAccessible, _gtk_menu_accessible, GTK_TYPE_MENU_SHELL_ACCESSIBLE)
......
......@@ -20,6 +20,7 @@
#ifndef __GTK_MENU_ACCESSIBLE_H__
#define __GTK_MENU_ACCESSIBLE_H__
#include "gtkmenu.h"
#include "gtkmenushellaccessible.h"
G_BEGIN_DECLS
......
......@@ -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
......
......@@ -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
......
......@@ -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
......
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