summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCedric Gustin <cedric.gustin@swing.be>2005-02-23 20:53:07 +0000
committerCedric Gustin <gustin@src.gnome.org>2005-02-23 20:53:07 +0000
commit77a9b4e3605fe3394eea52d4de34285bf213ac92 (patch)
tree55c6e6fba03bacaf9a6ac021a253ed669c62096e
parent20077fa27f216a40ffd832adbe14a864feebf3ac (diff)
downloadpygobject-77a9b4e3605fe3394eea52d4de34285bf213ac92.tar.gz
pygobject-77a9b4e3605fe3394eea52d4de34285bf213ac92.tar.xz
pygobject-77a9b4e3605fe3394eea52d4de34285bf213ac92.zip
Use G_CONST_RETURN with a gchar* return value.PYGTK_2_6_0
2005-02-23 Cedric Gustin <cedric.gustin@swing.be> * gobject/pygtype.c (add_property_docs): Use G_CONST_RETURN with a gchar* return value.
-rw-r--r--gobject/pygtype.c2
1 files changed, 1 insertions, 1 deletions
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);