[gnome-packagekit] trivial: fix compile with old versions of PackageKit, harder



commit 1c2fc87cb1eaa32dc5a2d1d55cad4c8d014619d8
Author: Richard Hughes <richard hughsie com>
Date:   Mon Sep 7 12:35:11 2009 +0100

    trivial: fix compile with old versions of PackageKit, harder

 src/gpk-dbus-task.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gpk-dbus-task.c b/src/gpk-dbus-task.c
index 6d65cb2..7f86fa5 100644
--- a/src/gpk-dbus-task.c
+++ b/src/gpk-dbus-task.c
@@ -2044,7 +2044,7 @@ gpk_dbus_task_install_files_dep_check (GpkDbusTask *task)
 	/* set timeout */
 	pk_client_set_timeout (task->priv->client_primary, task->priv->timeout, NULL);
 
-#if (!PK_CHECK_VERSION(0,5,2))
+#if (PK_CHECK_VERSION(0,5,2))
 	/* find out if this would drag in other packages */
 	ret = pk_client_simulate_install_files (task->priv->client_primary, task->priv->files, &error_local);
 	if (!ret) {



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