summaryrefslogtreecommitdiff
path: root/gobject/gparam.c
diff options
context:
space:
mode:
Diffstat (limited to 'gobject/gparam.c')
-rw-r--r--gobject/gparam.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gobject/gparam.c b/gobject/gparam.c
index b1be1e681..bca47d225 100644
--- a/gobject/gparam.c
+++ b/gobject/gparam.c
@@ -282,7 +282,7 @@ g_param_spec_ref_sink (GParamSpec *pspec)
*
* Returns: the name of @pspec.
*/
-const gchar *
+G_CONST_RETURN gchar*
g_param_spec_get_name (GParamSpec *pspec)
{
g_return_val_if_fail (G_IS_PARAM_SPEC (pspec), NULL);
@@ -298,7 +298,7 @@ g_param_spec_get_name (GParamSpec *pspec)
*
* Returns: the nickname of @pspec.
*/
-const gchar *
+G_CONST_RETURN gchar*
g_param_spec_get_nick (GParamSpec *pspec)
{
g_return_val_if_fail (G_IS_PARAM_SPEC (pspec), NULL);
@@ -325,7 +325,7 @@ g_param_spec_get_nick (GParamSpec *pspec)
*
* Returns: the short description of @pspec.
*/
-const gchar *
+G_CONST_RETURN gchar*
g_param_spec_get_blurb (GParamSpec *pspec)
{
g_return_val_if_fail (G_IS_PARAM_SPEC (pspec), NULL);