[gnome-software] Fix 7c19a8a not compiling..
- From: Robert Ancell <rancell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] Fix 7c19a8a not compiling..
- Date: Wed, 26 Oct 2016 21:45:57 +0000 (UTC)
commit 33686ce9288a7a220e29a44acc96338e11d295f4
Author: Robert Ancell <robert ancell canonical com>
Date: Thu Oct 27 10:45:50 2016 +1300
Fix 7c19a8a not compiling..
src/plugins/gs-plugin-snap.c | 2 +-
src/plugins/gs-snapd.c | 5 ++---
2 files changed, 3 insertions(+), 4 deletions(-)
---
diff --git a/src/plugins/gs-plugin-snap.c b/src/plugins/gs-plugin-snap.c
index 03352c7..78a9191 100644
--- a/src/plugins/gs-plugin-snap.c
+++ b/src/plugins/gs-plugin-snap.c
@@ -376,7 +376,7 @@ is_graphical (GsApp *app, GCancellable *cancellable)
guint i;
g_autoptr(GError) error = NULL;
- result = gs_snapd_get_interfaces (cancellable, &error);
+ result = gs_snapd_get_interfaces (NULL, NULL, cancellable, &error);
if (result == NULL) {
g_warning ("Failed to check interfaces: %s", error->message);
return FALSE;
diff --git a/src/plugins/gs-snapd.c b/src/plugins/gs-snapd.c
index 198c813..4a75bb6 100644
--- a/src/plugins/gs-snapd.c
+++ b/src/plugins/gs-snapd.c
@@ -487,7 +487,7 @@ gs_snapd_find (const gchar *macaroon, gchar **discharges,
}
JsonObject *
-gs_snapd_get_interfaces (GCancellable *cancellable, GError **error)
+gs_snapd_get_interfaces (const gchar *macaroon, gchar **discharges, GCancellable *cancellable, GError
**error)
{
guint status_code;
g_autofree gchar *reason_phrase = NULL;
@@ -498,8 +498,7 @@ gs_snapd_get_interfaces (GCancellable *cancellable, GError **error)
JsonObject *result;
if (!send_request ("GET", "/v2/interfaces", NULL,
- TRUE, NULL, NULL,
- TRUE, NULL, NULL,
+ macaroon, discharges,
&status_code, &reason_phrase,
&response_type, &response, NULL,
cancellable, error))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]