tests: Use const instead G_CONST_RETURN
authorJavier Jardón <jjardon@gnome.org>
Thu, 9 Jun 2011 15:24:04 +0000 (16:24 +0100)
committerJavier Jardón <jjardon@gnome.org>
Thu, 9 Jun 2011 15:26:26 +0000 (16:26 +0100)
tests/testrelation.c
tests/teststateset.c

index 2385dcf..3fb3d91 100644 (file)
@@ -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);
index b9cb8ce..27c15a9 100644 (file)
@@ -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);