From 77a9b4e3605fe3394eea52d4de34285bf213ac92 Mon Sep 17 00:00:00 2001 From: Cedric Gustin Date: Wed, 23 Feb 2005 20:53:07 +0000 Subject: Use G_CONST_RETURN with a gchar* return value. 2005-02-23 Cedric Gustin * gobject/pygtype.c (add_property_docs): Use G_CONST_RETURN with a gchar* return value. --- gobject/pygtype.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gobject/pygtype.c b/gobject/pygtype.c index 26ad5e9..37acf3f 100644 --- a/gobject/pygtype.c +++ b/gobject/pygtype.c @@ -1087,7 +1087,7 @@ add_property_docs(GType gtype, GString *string) GParamSpec **props; guint n_props = 0, i; gboolean has_prop = FALSE; - gchar *blurb=NULL; + G_CONST_RETURN gchar *blurb=NULL; class = g_type_class_ref(gtype); props = g_object_class_list_properties(class, &n_props); -- cgit