summaryrefslogtreecommitdiff
path: root/gst/gstobject.h
diff options
context:
space:
mode:
Diffstat (limited to 'gst/gstobject.h')
-rw-r--r--gst/gstobject.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gst/gstobject.h b/gst/gstobject.h
index d8d1ebb1e7..741d320e55 100644
--- a/gst/gstobject.h
+++ b/gst/gstobject.h
@@ -125,7 +125,8 @@ GType gst_object_get_type (void);
/* name routines */
void gst_object_set_name (GstObject *object, const gchar *name);
-const gchar* gst_object_get_name (GstObject *object);
+G_CONST_RETURN gchar*
+ gst_object_get_name (GstObject *object);
/* parentage routines */
void gst_object_set_parent (GstObject *object, GstObject *parent);