[gnome-software] snap: Update test mock function



commit 634dd24e622824e60efb49f1779ec89131a2cd4b
Author: Robert Ancell <robert ancell canonical com>
Date:   Fri Jul 12 11:07:00 2019 +1200

    snap: Update test mock function
    
    The function was changed in 8f735c632

 plugins/snap/gs-self-test.c | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/plugins/snap/gs-self-test.c b/plugins/snap/gs-self-test.c
index 75277ad7..fc533042 100644
--- a/plugins/snap/gs-self-test.c
+++ b/plugins/snap/gs-self-test.c
@@ -165,9 +165,10 @@ snapd_client_get_icon_sync (SnapdClient *client,
 }
 
 gboolean
-snapd_client_get_interfaces_sync (SnapdClient *client,
-                                 GPtrArray **plugs, GPtrArray **slots,
-                                 GCancellable *cancellable, GError **error)
+snapd_client_get_connections_sync (SnapdClient *client,
+                                  GPtrArray **established, GPtrArray **undesired,
+                                  GPtrArray **plugs, GPtrArray **slots,
+                                  GCancellable *cancellable, GError **error)
 {
        if (plugs)
                *plugs = g_ptr_array_new_with_free_func (g_object_unref);


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