summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2014-06-15 18:03:59 +0200
committerBenjamin Otte <otte@redhat.com>2014-08-16 19:39:44 +0200
commit7e5b58c72739c23533a18f47da771640340eecc2 (patch)
treeff6d2637cc4b61f91146a5ac03c68fb05ad8afda
parent04c90d44cc40bb64fcc5d8715d56b25c2034ec8e (diff)
downloadgtk+-7e5b58c72739c23533a18f47da771640340eecc2.tar.gz
stylecontext: Move private a11y function to private header
-rw-r--r--gtk/a11y/gtkentryaccessible.c1
-rw-r--r--gtk/a11y/gtklabelaccessible.c1
-rw-r--r--gtk/a11y/gtktextcellaccessible.c1
-rw-r--r--gtk/gtkstylecontext.h5
-rw-r--r--gtk/gtkstylecontextprivate.h5
5 files changed, 8 insertions, 5 deletions
diff --git a/gtk/a11y/gtkentryaccessible.c b/gtk/a11y/gtkentryaccessible.c
index 3f2d77e32c..e289eb43e0 100644
--- a/gtk/a11y/gtkentryaccessible.c
+++ b/gtk/a11y/gtkentryaccessible.c
@@ -24,6 +24,7 @@
#include "gtkentryaccessible.h"
#include "gtkentryprivate.h"
#include "gtkcomboboxaccessible.h"
+#include "gtkstylecontextprivate.h"
#define GTK_TYPE_ENTRY_ICON_ACCESSIBLE (gtk_entry_icon_accessible_get_type ())
#define GTK_ENTRY_ICON_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_ENTRY_ICON_ACCESSIBLE, GtkEntryIconAccessible))
diff --git a/gtk/a11y/gtklabelaccessible.c b/gtk/a11y/gtklabelaccessible.c
index a2bf47513a..88f4b7759c 100644
--- a/gtk/a11y/gtklabelaccessible.c
+++ b/gtk/a11y/gtklabelaccessible.c
@@ -25,6 +25,7 @@
#include "gtklabelprivate.h"
#include "gtklabelaccessible.h"
#include "gtklabelaccessibleprivate.h"
+#include "gtkstylecontextprivate.h"
struct _GtkLabelAccessiblePrivate
{
diff --git a/gtk/a11y/gtktextcellaccessible.c b/gtk/a11y/gtktextcellaccessible.c
index c41123284f..a5fd435ffe 100644
--- a/gtk/a11y/gtktextcellaccessible.c
+++ b/gtk/a11y/gtktextcellaccessible.c
@@ -22,6 +22,7 @@
#include "gtktextcellaccessible.h"
#include "gtkcontainercellaccessible.h"
#include "gtkcellaccessibleparent.h"
+#include "gtkstylecontextprivate.h"
struct _GtkTextCellAccessiblePrivate
{
diff --git a/gtk/gtkstylecontext.h b/gtk/gtkstylecontext.h
index 8bb499395b..7f11b1ad4f 100644
--- a/gtk/gtkstylecontext.h
+++ b/gtk/gtkstylecontext.h
@@ -1254,11 +1254,6 @@ void gtk_draw_insertion_cursor (GtkWidget *widget,
GtkTextDirection direction,
gboolean draw_arrow);
-/* Accessibility support */
-AtkAttributeSet *_gtk_style_context_get_attributes (AtkAttributeSet *attributes,
- GtkStyleContext *context,
- GtkStateFlags flags);
-
G_END_DECLS
#endif /* __GTK_STYLE_CONTEXT_H__ */
diff --git a/gtk/gtkstylecontextprivate.h b/gtk/gtkstylecontextprivate.h
index 5c1b240a41..4b9486693b 100644
--- a/gtk/gtkstylecontextprivate.h
+++ b/gtk/gtkstylecontextprivate.h
@@ -63,6 +63,11 @@ void _gtk_style_context_get_icon_extents (GtkStyleContext
gint height);
GtkIconLookupFlags _gtk_style_context_get_icon_lookup_flags (GtkStyleContext *context);
+/* Accessibility support */
+AtkAttributeSet *_gtk_style_context_get_attributes (AtkAttributeSet *attributes,
+ GtkStyleContext *context,
+ GtkStateFlags flags);
+
G_END_DECLS
#endif /* __GTK_STYLE_CONTEXT_PRIVATE_H__ */