Merge branch 'gail-symbols' into 'gtk-3-24'

libgail-util: Fix symbol visibility with meson

See merge request GNOME/gtk!901
This commit is contained in:
Matthias Clasen 2019-06-01 11:03:57 +00:00
commit 39d78e6371
2 changed files with 13 additions and 0 deletions

View File

@ -24,9 +24,11 @@
G_BEGIN_DECLS
GDK_AVAILABLE_IN_ALL
AtkAttributeSet* gail_misc_add_attribute (AtkAttributeSet *attrib_set,
AtkTextAttribute attr,
gchar *value);
GDK_AVAILABLE_IN_ALL
AtkAttributeSet* gail_misc_layout_get_run_attributes
(AtkAttributeSet *attrib_set,
PangoLayout *layout,
@ -35,10 +37,12 @@ AtkAttributeSet* gail_misc_layout_get_run_attributes
gint *start_offset,
gint *end_offset);
GDK_AVAILABLE_IN_ALL
AtkAttributeSet* gail_misc_get_default_attributes (AtkAttributeSet *attrib_set,
PangoLayout *layout,
GtkWidget *widget);
GDK_AVAILABLE_IN_ALL
void gail_misc_get_extents_from_pango_rectangle
(GtkWidget *widget,
PangoRectangle *char_rect,
@ -50,6 +54,7 @@ void gail_misc_get_extents_from_pango_rectangle
gint *height,
AtkCoordType coords);
GDK_AVAILABLE_IN_ALL
gint gail_misc_get_index_at_point_in_layout
(GtkWidget *widget,
PangoLayout *layout,
@ -59,12 +64,14 @@ gint gail_misc_get_index_at_point_in_layout
gint y,
AtkCoordType coords);
GDK_AVAILABLE_IN_ALL
void gail_misc_get_origins (GtkWidget *widget,
gint *x_window,
gint *y_window,
gint *x_toplevel,
gint *y_toplevel);
GDK_AVAILABLE_IN_ALL
AtkAttributeSet* gail_misc_buffer_get_run_attributes
(GtkTextBuffer *buffer,
gint offset,

View File

@ -62,13 +62,18 @@ struct _GailTextUtilClass
GObjectClass parent_class;
};
GDK_AVAILABLE_IN_ALL
GType gail_text_util_get_type (void);
GDK_AVAILABLE_IN_ALL
GailTextUtil* gail_text_util_new (void);
GDK_AVAILABLE_IN_ALL
void gail_text_util_text_setup (GailTextUtil *textutil,
const gchar *text);
GDK_AVAILABLE_IN_ALL
void gail_text_util_buffer_setup (GailTextUtil *textutil,
GtkTextBuffer *buffer);
GDK_AVAILABLE_IN_ALL
gchar* gail_text_util_get_text (GailTextUtil *textutil,
gpointer layout,
GailOffsetType function,
@ -76,6 +81,7 @@ gchar* gail_text_util_get_text (GailTextUtil *textutil,
gint offset,
gint *start_offset,
gint *end_offset);
GDK_AVAILABLE_IN_ALL
gchar* gail_text_util_get_substring (GailTextUtil *textutil,
gint start_pos,
gint end_pos);