[gnome-software] trivial: Fix warning when assigning a char in gs-flatpak



commit 68bbecdbedbdac87d9ba8e2a4738b09102b0ad6b
Author: Joaquim Rocha <jrocha endlessm com>
Date:   Wed Oct 26 15:07:15 2016 +0200

    trivial: Fix warning when assigning a char in gs-flatpak

 src/plugins/gs-flatpak.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/plugins/gs-flatpak.c b/src/plugins/gs-flatpak.c
index ff35c22..b7fa07f 100644
--- a/src/plugins/gs-flatpak.c
+++ b/src/plugins/gs-flatpak.c
@@ -278,7 +278,7 @@ static void
 gs_flatpak_rescan_installed (GsFlatpak *self, GCancellable *cancellable, GError **error)
 {
        GPtrArray *icons;
-       gchar *fn;
+       const gchar *fn;
        guint i;
        g_autoptr(GFile) path = NULL;
        g_autoptr(GDir) dir = NULL;


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