diff options
author | Emmanuele Bassi <ebassi@gnome.org> | 2022-08-04 23:34:41 +0100 |
---|---|---|
committer | Emmanuele Bassi <ebassi@gnome.org> | 2022-08-04 23:34:41 +0100 |
commit | d030c92d6347444b1cb0bfb59ad950436d79dd66 (patch) | |
tree | c291ae1a418ba340ebff68ccc39565ddea6269db /gtk/gtktextbufferprivate.h | |
parent | a07ee709d257ba793d827eaa30302dd8cb847955 (diff) | |
download | gtk+-d030c92d6347444b1cb0bfb59ad950436d79dd66.tar.gz |
Move private function out of the AT-SPI a11y backend
The textbuffer test is calling into a function defined by the AT-SPI
accessibility backend. As of commit 4ddf1b70 we only build and run the
test on Linux, but the function in question isn't really
accessibility-related: it's just a serialization function.
Diffstat (limited to 'gtk/gtktextbufferprivate.h')
-rw-r--r-- | gtk/gtktextbufferprivate.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/gtk/gtktextbufferprivate.h b/gtk/gtktextbufferprivate.h index b67e22a38e..ef22648ac5 100644 --- a/gtk/gtktextbufferprivate.h +++ b/gtk/gtktextbufferprivate.h @@ -34,6 +34,17 @@ const PangoLogAttr* _gtk_text_buffer_get_line_log_attrs (GtkTextBuffer *buff void _gtk_text_buffer_notify_will_remove_tag (GtkTextBuffer *buffer, GtkTextTag *tag); + +const char *gtk_justification_to_string (GtkJustification just); +const char *gtk_text_direction_to_string (GtkTextDirection direction); +const char *gtk_wrap_mode_to_string (GtkWrapMode wrap_mode); + +void gtk_text_buffer_get_run_attributes (GtkTextBuffer *buffer, + GVariantBuilder *builder, + int offset, + int *start_offset, + int *end_offset); + G_END_DECLS #endif |