]> Pileus Git - ~andy/gtk/blobdiff - modules/other/gail/tests/testprops.c
gail/tests: Use const instead G_CONST_RETURN
[~andy/gtk] / modules / other / gail / tests / testprops.c
index 8db555e177fe7ac3753166d60d3290559fb34015..bae01cc918dc00ffebf167351c5b1b9fe5a14e52 100644 (file)
@@ -66,8 +66,8 @@ static void
 _property_change_handler (AtkObject   *obj,
                           AtkPropertyValues   *values)
 {
-  G_CONST_RETURN gchar *type_name = g_type_name (G_TYPE_FROM_INSTANCE (obj));
-  G_CONST_RETURN gchar *name = atk_object_get_name (obj);
+  const gchar *type_name = g_type_name (G_TYPE_FROM_INSTANCE (obj));
+  const gchar *name = atk_object_get_name (obj);
 
   g_print ("_property_change_handler: Accessible Type: %s\n",
            type_name ? type_name : "NULL");