[gnome-packagekit] Fix a crash when applying updates that require a security signature



commit f23841ff38f508eb87b0eac31b60d1b2c8dbc4fb
Author: Richard Hughes <richard hughsie com>
Date:   Wed May 27 19:15:39 2009 +0100

    Fix a crash when applying updates that require a security signature
---
 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 5c16521..9769714 100644
--- a/src/gpk-check-update.c
+++ b/src/gpk-check-update.c
@@ -1541,7 +1541,7 @@ gpk_check_update_init (GpkCheckUpdate *cupdate)
 
 	/* helpers */
 	cupdate->priv->helper_repo_signature = gpk_helper_repo_signature_new ();
-	g_signal_connect (cupdate->priv->helper_repo_signature, "event", G_CALLBACK (gpk_check_update_repo_signature_event_cb), NULL);
+	g_signal_connect (cupdate->priv->helper_repo_signature, "event", G_CALLBACK (gpk_check_update_repo_signature_event_cb), cupdate);
 
 	cupdate->priv->control = pk_control_new ();
 	g_signal_connect (cupdate->priv->control, "updates-changed",



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