summaryrefslogtreecommitdiff
path: root/gtk/gtkatcontextprivate.h
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2020-07-17 12:49:59 +0100
committerEmmanuele Bassi <ebassi@gnome.org>2020-07-26 20:31:15 +0100
commit732578eb53e3391a284425517bf34b49ddbb523e (patch)
treedac97c43c1e47130e95933624f0635d8db86bf5e /gtk/gtkatcontextprivate.h
parent1124f2507d6a928dcce9878e23bc563efc65d801 (diff)
downloadgtk+-732578eb53e3391a284425517bf34b49ddbb523e.tar.gz
a11y: Consolidate the attributes container
While we have split the various attributes for convenience, there's no reason why we should have specialised data types for the attributes container object.
Diffstat (limited to 'gtk/gtkatcontextprivate.h')
-rw-r--r--gtk/gtkatcontextprivate.h16
1 files changed, 7 insertions, 9 deletions
diff --git a/gtk/gtkatcontextprivate.h b/gtk/gtkatcontextprivate.h
index ee7a6dea7c..c7f59f8fae 100644
--- a/gtk/gtkatcontextprivate.h
+++ b/gtk/gtkatcontextprivate.h
@@ -22,9 +22,7 @@
#include "gtkatcontext.h"
-#include "gtkaccessiblepropertysetprivate.h"
-#include "gtkaccessiblerelationsetprivate.h"
-#include "gtkaccessiblestatesetprivate.h"
+#include "gtkaccessibleattributesetprivate.h"
G_BEGIN_DECLS
@@ -89,9 +87,9 @@ struct _GtkATContext
GtkAccessibleRole accessible_role;
GtkAccessible *accessible;
- GtkAccessibleStateSet *states;
- GtkAccessiblePropertySet *properties;
- GtkAccessibleRelationSet *relations;
+ GtkAccessibleAttributeSet *states;
+ GtkAccessibleAttributeSet *properties;
+ GtkAccessibleAttributeSet *relations;
};
struct _GtkATContextClass
@@ -102,9 +100,9 @@ struct _GtkATContextClass
GtkAccessibleStateChange changed_states,
GtkAccessiblePropertyChange changed_properties,
GtkAccessibleRelationChange changed_relations,
- GtkAccessibleStateSet *states,
- GtkAccessiblePropertySet *properties,
- GtkAccessibleRelationSet *relations);
+ GtkAccessibleAttributeSet *states,
+ GtkAccessibleAttributeSet *properties,
+ GtkAccessibleAttributeSet *relations);
};
GtkATContext * gtk_at_context_create (GtkAccessibleRole accessible_role,