mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-29 06:51:10 +00:00
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:
parent
2d3c36a021
commit
24b9599af7
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user