diff options
author | Cedric Gustin <cedric.gustin@swing.be> | 2005-02-23 20:53:07 +0000 |
---|---|---|
committer | Cedric Gustin <gustin@src.gnome.org> | 2005-02-23 20:53:07 +0000 |
commit | 77a9b4e3605fe3394eea52d4de34285bf213ac92 (patch) | |
tree | 55c6e6fba03bacaf9a6ac021a253ed669c62096e | |
parent | 20077fa27f216a40ffd832adbe14a864feebf3ac (diff) | |
download | pygobject-77a9b4e3605fe3394eea52d4de34285bf213ac92.tar.gz |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gobject/pygtype.c b/gobject/pygtype.c index 26ad5e99..37acf3f1 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); |