[gnome-maps] file-tile-source: Change from gchar * to guint8 *
- From: Marcus Lundblad <mlundblad src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-maps] file-tile-source: Change from gchar * to guint8 *
- Date: Sun, 25 Aug 2019 19:13:59 +0000 (UTC)
commit 8769e92ce68a7a5f165ea35bf7bc8e687deccf0d
Author: Marcus Lundblad <ml update uu se>
Date: Sun Aug 25 21:12:38 2019 +0200
file-tile-source: Change from gchar * to guint8 *
Adapt to API change in libchamplain
Fixes #197
lib/maps-file-tile-source.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/lib/maps-file-tile-source.c b/lib/maps-file-tile-source.c
index 4f880ef..25e73a4 100644
--- a/lib/maps-file-tile-source.c
+++ b/lib/maps-file-tile-source.c
@@ -548,12 +548,12 @@ tile_loaded_cb (GFile *file,
ChamplainTile *tile = user_data->tile;
CallbackData *data;
ChamplainRenderer *renderer;
- char *content;
+ guint8 *content;
gsize length;
g_slice_free (CallbackData, user_data);
- if (!g_file_load_contents_finish (file, res, &content, &length, NULL, NULL))
+ if (!g_file_load_contents_finish (file, res, (char **) &content, &length, NULL, NULL))
{
goto load_next;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]