[gnome-packagekit] trivial: ensure we create the subclassed version of PkTask, not the parent version
- From: Richard Hughes <rhughes src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnome-packagekit] trivial: ensure we create the subclassed version of PkTask, not the parent version
- Date: Mon, 8 Feb 2010 14:55:17 +0000 (UTC)
commit d5fb7a3f96f10e5aa8135e498b2e804996f96cc7
Author: Richard Hughes <richard hughsie com>
Date: Mon Feb 8 13:58:15 2010 +0000
trivial: ensure we create the subclassed version of PkTask, not the parent version
src/gpk-check-update.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gpk-check-update.c b/src/gpk-check-update.c
index 2bab01c..d5c4745 100644
--- a/src/gpk-check-update.c
+++ b/src/gpk-check-update.c
@@ -1467,7 +1467,7 @@ gpk_check_update_init (GpkCheckUpdate *cupdate)
G_CALLBACK (gpk_cupdate_connection_changed_cb), cupdate);
/* use an asynchronous query object */
- cupdate->priv->task = PK_TASK(pk_task_new ());
+ cupdate->priv->task = PK_TASK (gpk_task_new ());
g_object_set (cupdate->priv->task,
"background", TRUE,
NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]