[gnome-packagekit] Return TRUE when InstallPackageFiles succeeds



commit 0112ec07cf2dd5c5e7345184d9e8caa56f7826aa
Author: Jonathan Conder <j skurvy no-ip org>
Date:   Wed Feb 24 08:47:02 2010 +0000

    Return TRUE when InstallPackageFiles succeeds
    
    I have been using gnome-packagekit 2.29.3 and decided to test installing a
    local package. The installation succeeds but the gpk-install-local-file process
    keeps running.
    
    Signed-off-by: Richard Hughes <richard hughsie com>

 src/gpk-dbus-task.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/gpk-dbus-task.c b/src/gpk-dbus-task.c
index 6187706..3ba46c5 100644
--- a/src/gpk-dbus-task.c
+++ b/src/gpk-dbus-task.c
@@ -622,6 +622,9 @@ gpk_dbus_task_install_files_cb (PkTask *task, GAsyncResult *res, GpkDbusTask *dt
 		g_error_free (error_dbus);
 		goto out;
 	}
+
+	/* we're done */
+	gpk_dbus_task_dbus_return_value (dtask, TRUE);
 out:
 	if (error_code != NULL)
 		g_object_unref (error_code);



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