tests: Remove deprecated ATK functions
This commit is contained in:
parent
b5c4437287
commit
cbf6e74915
@ -66,24 +66,11 @@ test_atk_text (ClutterActor *actor)
|
|||||||
g_free (text); text = NULL;
|
g_free (text); text = NULL;
|
||||||
g_free (buf); buf = NULL;
|
g_free (buf); buf = NULL;
|
||||||
|
|
||||||
text = atk_text_get_text_before_offset (cally_text,
|
text = atk_text_get_string_at_offset (cally_text,
|
||||||
5, ATK_TEXT_BOUNDARY_WORD_END,
|
5,
|
||||||
&start, &end);
|
ATK_TEXT_GRANULARITY_WORD,
|
||||||
g_print ("atk_text_get_text_before_offset: %s, %i, %i\n",
|
&start, &end);
|
||||||
text, start, end);
|
g_print ("atk_text_get_string_at_offset: %s, %i, %i\n",
|
||||||
g_free (text); text = NULL;
|
|
||||||
|
|
||||||
text = atk_text_get_text_at_offset (cally_text,
|
|
||||||
5, ATK_TEXT_BOUNDARY_WORD_END,
|
|
||||||
&start, &end);
|
|
||||||
g_print ("atk_text_get_text_at_offset: %s, %i, %i\n",
|
|
||||||
text, start, end);
|
|
||||||
g_free (text); text = NULL;
|
|
||||||
|
|
||||||
text = atk_text_get_text_after_offset (cally_text,
|
|
||||||
5, ATK_TEXT_BOUNDARY_WORD_END,
|
|
||||||
&start, &end);
|
|
||||||
g_print ("atk_text_get_text_after_offset: %s, %i, %i\n",
|
|
||||||
text, start, end);
|
text, start, end);
|
||||||
g_free (text); text = NULL;
|
g_free (text); text = NULL;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user