[retro-gtk] core: Fix the parameter types of set_medias()



commit bdb0fe7f71b6651a200d8c3e390f930985f6e5ae
Author: Adrien Plazas <kekun plazas laposte net>
Date:   Fri Oct 13 07:59:24 2017 +0200

    core: Fix the parameter types of set_medias()

 retro-gtk/retro-core.c |    4 ++--
 retro-gtk/retro-core.h |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/retro-gtk/retro-core.c b/retro-gtk/retro-core.c
index d271e86..e24693a 100644
--- a/retro-gtk/retro-core.c
+++ b/retro-gtk/retro-core.c
@@ -1319,8 +1319,8 @@ retro_core_boot (RetroCore  *self,
  * You can use this before booting the core.
  */
 void
-retro_core_set_medias (RetroCore    *self,
-                       const gchar **uris)
+retro_core_set_medias (RetroCore           *self,
+                       const gchar * const *uris)
 {
 
   g_return_if_fail (RETRO_IS_CORE (self));
diff --git a/retro-gtk/retro-core.h b/retro-gtk/retro-core.h
index 6724c19..0f9e111 100644
--- a/retro-gtk/retro-core.h
+++ b/retro-gtk/retro-core.h
@@ -36,8 +36,8 @@ gboolean retro_core_get_support_no_game (RetroCore *self);
 gdouble retro_core_get_frames_per_second (RetroCore *self);
 void retro_core_boot (RetroCore  *self,
                       GError    **error);
-void retro_core_set_medias (RetroCore    *self,
-                            const gchar **uris);
+void retro_core_set_medias (RetroCore           *self,
+                            const gchar * const *uris);
 void retro_core_set_current_media (RetroCore  *self,
                                    guint       media_index,
                                    GError    **error);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]