[gnome-software] trivial: Fix adding PackageKit sources
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] trivial: Fix adding PackageKit sources
- Date: Wed, 1 Jun 2016 08:48:26 +0000 (UTC)
commit d06822e373838e9ce677f84212541689cd74156b
Author: Richard Hughes <richard hughsie com>
Date: Wed Jun 1 09:45:25 2016 +0100
trivial: Fix adding PackageKit sources
This is fall out from the GsAppList change.
src/plugins/gs-plugin-packagekit.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/plugins/gs-plugin-packagekit.c b/src/plugins/gs-plugin-packagekit.c
index 57e4ffc..4becabc 100644
--- a/src/plugins/gs-plugin-packagekit.c
+++ b/src/plugins/gs-plugin-packagekit.c
@@ -112,7 +112,7 @@ gs_plugin_add_sources_related (GsPlugin *plugin,
ProgressData data;
const gchar *id;
gboolean ret = TRUE;
- g_autoptr(GsAppList) installed = NULL;
+ g_autoptr(GsAppList) installed = gs_app_list_new ();
g_autoptr(PkResults) results = NULL;
g_autoptr(AsProfileTask) ptask = NULL;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]