]> Pileus Git - ~andy/gtk/blobdiff - modules/other/gail/gaillabel.c
gail: use const instead G_CONST_RETURN
[~andy/gtk] / modules / other / gail / gaillabel.c
index a527a8ae0edb686266b1ca54c106ba1ef3a9923a..1961e8842121cc920494371393dec3a4cd99f38f 100644 (file)
@@ -42,7 +42,7 @@ static void       atk_text_interface_init          (AtkTextIface      *iface);
 
 /* atkobject.h */
 
-static G_CONST_RETURN gchar* gail_label_get_name         (AtkObject         *accessible);
+static const gchar* gail_label_get_name         (AtkObject         *accessible);
 static AtkStateSet*          gail_label_ref_state_set   (AtkObject         *accessible);
 static AtkRelationSet*       gail_label_ref_relation_set (AtkObject         *accessible);
 
@@ -529,10 +529,10 @@ gail_label_ref_relation_set (AtkObject *obj)
   return relation_set;
 }
 
-static G_CONST_RETURN gchar*
+static const gchar*
 gail_label_get_name (AtkObject *accessible)
 {
-  G_CONST_RETURN gchar *name;
+  const gchar *name;
 
   g_return_val_if_fail (GAIL_IS_LABEL (accessible), NULL);