Update for GstURIHandler get_protocols() changes
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Sun, 13 Nov 2011 23:47:46 +0000 (23:47 +0000)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Sun, 13 Nov 2011 23:47:46 +0000 (23:47 +0000)
ext/dvdread/dvdreadsrc.c
gst/realmedia/pnmsrc.c

index 471b0f7..940fc55 100644 (file)
@@ -1632,10 +1632,10 @@ gst_dvd_read_src_uri_get_type (GType type)
   return GST_URI_SRC;
 }
 
-static gchar **
+static const gchar *const *
 gst_dvd_read_src_uri_get_protocols (GType type)
 {
-  static gchar *protocols[] = { (gchar *) "dvd", NULL };
+  static const gchar *protocols[] = { "dvd", NULL };
 
   return protocols;
 }
index 64768fc..a2671af 100644 (file)
@@ -199,10 +199,10 @@ gst_pnm_src_uri_get_type (GType type)
   return GST_URI_SRC;
 }
 
-static gchar **
+static const gchar *const *
 gst_pnm_src_uri_get_protocols (GType type)
 {
-  static gchar *protocols[] = { (gchar *) "pnm", NULL };
+  static const gchar *protocols[] = { "pnm", NULL };
 
   return protocols;
 }