summaryrefslogtreecommitdiff
path: root/src/portal/tracker-portal.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/portal/tracker-portal.c')
-rw-r--r--src/portal/tracker-portal.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/portal/tracker-portal.c b/src/portal/tracker-portal.c
index 4faeaae0b..1fdb48087 100644
--- a/src/portal/tracker-portal.c
+++ b/src/portal/tracker-portal.c
@@ -213,7 +213,7 @@ load_client_configuration (TrackerPortal *portal,
GError **error)
{
g_autoptr (GKeyFile) flatpak_info = NULL;
- GError *inner_error = NULL;
+ g_autoptr(GError) inner_error = NULL;
GStrv graphs;
if (portal->test_flatpak_info) {
@@ -229,7 +229,7 @@ load_client_configuration (TrackerPortal *portal,
}
if (!flatpak_info) {
- GStrv default_graphs = { NULL };
+ gchar *default_graphs[] = { NULL };
if (inner_error) {
g_warning ("Error reading .flatpak-info.");