a11y: Fix headers

We were getting a gcc warning before.
This commit is contained in:
Benjamin Otte 2018-04-05 17:05:21 +02:00
parent 8cb0df7554
commit 374467c11c
4 changed files with 35 additions and 7 deletions

View File

@ -28,9 +28,6 @@ void _gtk_accessibility_init (void);
gboolean _gtk_accessibility_key_snooper (GtkWidget *widget,
GdkEventKey *event);
void _gtk_window_accessible_set_is_active (GtkWindow *window,
gboolean is_active);
G_END_DECLS
#endif /* __GTK_ACCESSIBILITY_H__ */

View File

@ -18,12 +18,13 @@
#include "config.h"
#include <gtk/gtk.h>
#include "gtkwindowaccessibleprivate.h"
#include "gtkaccessibility.h"
#include "gtkwidgetaccessibleprivate.h"
#include "gtkwindowaccessible.h"
#include "gtktoplevelaccessible.h"
#include "gtkwidgetaccessibleprivate.h"
#include "gtklabel.h"
#include "gtkwidgetprivate.h"
#include "gtkwindowprivate.h"

View File

@ -0,0 +1,30 @@
/* GTK+ - accessibility implementations
* Copyright (C) 2018 Benjamin Otte <otte@gnome.org>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Library General Public License for more details.
*
* You should have received a copy of the GNU Library General Public
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef __GTK_WINDOW_ACCESSIBLE_PRIVATE_H__
#define __GTK_WINDOW_ACCESSIBLE_PRIVATE_H__
#include <gtk/a11y/gtkwindowaccessible.h>
G_BEGIN_DECLS
void _gtk_window_accessible_set_is_active (GtkWindow *window,
gboolean is_active);
G_END_DECLS
#endif /* __GTK_WINDOW_ACCESSIBLE_PRIVATE_H__ */

View File

@ -67,7 +67,7 @@
#include "gtkwidgetprivate.h"
#include "gtkwindowgroup.h"
#include "a11y/gtkwindowaccessible.h"
#include "a11y/gtkwindowaccessibleprivate.h"
#include "a11y/gtkcontaineraccessibleprivate.h"
#include "inspector/init.h"
#include "inspector/window.h"