controller: fix build failure due to compiler warning
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Sat, 23 Jul 2011 07:00:09 +0000 (08:00 +0100)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Sat, 23 Jul 2011 07:00:09 +0000 (08:00 +0100)
Presumably with newer GLib version.

https://bugzilla.gnome.org/show_bug.cgi?id=655155

libs/gst/controller/gstcontrollerprivate.h

index 6b5dcd9..2dc57a5 100644 (file)
@@ -38,7 +38,7 @@ G_BEGIN_DECLS
 typedef struct _GstControlledProperty
 {
   GParamSpec *pspec;            /* GParamSpec for this property */
-  gchar *name;                  /* name of the property */
+  const gchar *name;            /* name of the property */
   GstControlSource *csource;    /* GstControlSource for this property */
   gboolean disabled;
   GValue last_value;