[gnome-software/wip/jrocha/flatpak-appstream-fixes: 1/2] trivial: Fix warning when assigning a char in gs-flatpak



commit f4cf7666191a06090205138a68c90514a236e8de
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]