Skip to content

Commit

Permalink
Use G_CONST_RETURN with a gchar* return value.
Browse files Browse the repository at this point in the history
2005-02-23  Cedric Gustin  <cedric.gustin@swing.be>

	* gobject/pygtype.c (add_property_docs): Use G_CONST_RETURN with a
	gchar* return value.
  • Loading branch information
Cedric Gustin authored and Cedric Gustin committed Feb 23, 2005
1 parent 20077fa commit 77a9b4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gobject/pygtype.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 77a9b4e

Please sign in to comment.