[gnome-software: 2/6] snap: Fix number of arguments to g_loadable_icon_load() in tests
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software: 2/6] snap: Fix number of arguments to g_loadable_icon_load() in tests
- Date: Sun, 14 Mar 2021 17:42:16 +0000 (UTC)
commit 1828465b26c1334cddb4dfa5f2bd2f5a39c262d4
Author: Philip Withnall <pwithnall endlessos org>
Date: Sun Mar 14 15:55:56 2021 +0000
snap: Fix number of arguments to g_loadable_icon_load() in tests
This was an error I introduced in commit 52fe596244.
Signed-off-by: Philip Withnall <pwithnall endlessos org>
Closes: #1170
plugins/snap/gs-self-test.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/plugins/snap/gs-self-test.c b/plugins/snap/gs-self-test.c
index f78d9dc8b..621f6f8f5 100644
--- a/plugins/snap/gs-self-test.c
+++ b/plugins/snap/gs-self-test.c
@@ -324,7 +324,7 @@ gs_plugins_snap_test_func (GsPluginLoader *plugin_loader)
icon = gs_app_get_icon_for_size (app, 128, 1, NULL);
g_assert_nonnull (icon);
g_assert_true (G_IS_LOADABLE_ICON (icon));
- icon_stream = g_loadable_icon_load (G_LOADABLE_ICON (icon), 128, NULL, &error);
+ icon_stream = g_loadable_icon_load (G_LOADABLE_ICON (icon), 128, NULL, NULL, &error);
g_assert_no_error (error);
g_assert_nonnull (icon_stream);
pixbuf = gdk_pixbuf_new_from_stream (icon_stream, NULL, &error);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]