summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2011-06-09 16:24:04 +0100
committerJavier Jardón <jjardon@gnome.org>2011-06-09 16:26:26 +0100
commit28ca51e39e84ee280e4352e752593d77810b1ba8 (patch)
tree7d7867c8bb891c7aa72964a8b6a95748756bb7eb /tests
parentf38ed368327449e91531b3716fbd0510a4ca49a1 (diff)
downloadatk-28ca51e39e84ee280e4352e752593d77810b1ba8.tar.gz
tests: Use const instead G_CONST_RETURN
Diffstat (limited to 'tests')
-rw-r--r--tests/testrelation.c6
-rw-r--r--tests/teststateset.c2
2 files changed, 4 insertions, 4 deletions
diff --git a/tests/testrelation.c b/tests/testrelation.c
index 2385dcf..3fb3d91 100644
--- a/tests/testrelation.c
+++ b/tests/testrelation.c
@@ -28,7 +28,7 @@ static gboolean
test_relation (void)
{
AtkRelationType type1, type2;
- G_CONST_RETURN gchar *name;
+ const gchar *name;
AtkObject *obj;
gboolean ret_value;
AtkRelationSet *set;
@@ -169,7 +169,7 @@ static gboolean
test_role (void)
{
AtkRole role1, role2;
- G_CONST_RETURN gchar *name;
+ const gchar *name;
name = atk_role_get_name (ATK_ROLE_PAGE_TAB);
g_return_val_if_fail (name, FALSE);
@@ -230,7 +230,7 @@ static gboolean
test_text_attr (void)
{
AtkTextAttribute attr1, attr2;
- G_CONST_RETURN gchar *name;
+ const gchar *name;
name = atk_text_attribute_get_name (ATK_TEXT_ATTR_PIXELS_INSIDE_WRAP);
g_return_val_if_fail (name, FALSE);
diff --git a/tests/teststateset.c b/tests/teststateset.c
index b9cb8ce..27c15a9 100644
--- a/tests/teststateset.c
+++ b/tests/teststateset.c
@@ -208,7 +208,7 @@ static gboolean
test_state (void)
{
AtkStateType type1, type2;
- G_CONST_RETURN gchar *name;
+ const gchar *name;
name = atk_state_type_get_name (ATK_STATE_VISIBLE);
g_return_val_if_fail (name, FALSE);