gail-util: Constify gchar argument

And avoid a compiler warning.

https://bugzilla.gnome.org/show_bug.cgi?id=624349
This commit is contained in:
Emmanuele Bassi 2010-07-14 16:01:45 +01:00
parent ddcbc0e051
commit e42c29ca98
2 changed files with 2 additions and 2 deletions

View File

@ -195,7 +195,7 @@ gail_misc_add_attribute (AtkAttributeSet *attrib_set,
AtkAttributeSet*
gail_misc_layout_get_run_attributes (AtkAttributeSet *attrib_set,
PangoLayout *layout,
gchar *text,
const gchar *text,
gint offset,
gint *start_offset,
gint *end_offset)

View File

@ -32,7 +32,7 @@ AtkAttributeSet* gail_misc_add_attribute (AtkAttributeSet *attrib_set
AtkAttributeSet* gail_misc_layout_get_run_attributes
(AtkAttributeSet *attrib_set,
PangoLayout *layout,
gchar *text,
const gchar *text,
gint offset,
gint *start_offset,
gint *end_offset);