[gnome-software/wip/rancell/ubuntu-ratings] trivial: A more complete version of the previous patch
- From: Robert Ancell <rancell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/wip/rancell/ubuntu-ratings] trivial: A more complete version of the previous patch
- Date: Thu, 12 Nov 2015 02:28:33 +0000 (UTC)
commit dc1494d2ad003eca5ca12aced15c1cf330ed4022
Author: Richard Hughes <richard hughsie com>
Date: Thu Oct 29 16:27:57 2015 +0000
trivial: A more complete version of the previous patch
src/plugins/gs-plugin-packagekit-refresh.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/plugins/gs-plugin-packagekit-refresh.c b/src/plugins/gs-plugin-packagekit-refresh.c
index 1eea63e..45753ab 100644
--- a/src/plugins/gs-plugin-packagekit-refresh.c
+++ b/src/plugins/gs-plugin-packagekit-refresh.c
@@ -126,6 +126,7 @@ gs_plugin_refresh (GsPlugin *plugin,
pk_client_set_background (PK_CLIENT (plugin->priv->task), cache_age > 0);
data.plugin = plugin;
+ data.ptask = NULL;
/* update UI as this might take some time */
gs_plugin_status_update (plugin, NULL, GS_PLUGIN_STATUS_WAITING);
@@ -251,6 +252,7 @@ gs_plugin_packagekit_refresh_guess_app_id (GsPlugin *plugin,
g_autoptr(GPtrArray) array = NULL;
data.plugin = plugin;
+ data.ptask = NULL;
/* get file list so we can work out ID */
files = g_strsplit (filename, "\t", -1);
@@ -318,6 +320,7 @@ gs_plugin_filename_to_app (GsPlugin *plugin,
return TRUE;
data.plugin = plugin;
+ data.ptask = NULL;
/* get details */
files = g_strsplit (filename, "\t", -1);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]