From 2ed5c979c038db883fd25c0eaa9ceaf70bd6601e Mon Sep 17 00:00:00 2001 From: "Carsten Haitzler (Rasterman)" Date: Fri, 23 May 2014 07:45:29 +0900 Subject: [PATCH] pkgkit mod - dont setup null_cb with NULL data as it expects ctxt --- src/modules/packagekit/e_mod_packagekit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/packagekit/e_mod_packagekit.c b/src/modules/packagekit/e_mod_packagekit.c index 1e7f22aa9..11685d380 100644 --- a/src/modules/packagekit/e_mod_packagekit.c +++ b/src/modules/packagekit/e_mod_packagekit.c @@ -293,7 +293,7 @@ packagekit_refresh_cache(E_PackageKit_Module_Context *ctxt, const char *transact obj = eldbus_object_get(ctxt->conn, "org.freedesktop.PackageKit", transaction); proxy = eldbus_proxy_get(obj, "org.freedesktop.PackageKit.Transaction"); - pending = eldbus_proxy_call(proxy, "RefreshCache", null_cb, NULL, -1, "b", 1); + pending = eldbus_proxy_call(proxy, "RefreshCache", null_cb, ctxt, -1, "b", 1); if (!pending) { _store_error(ctxt, "could not call RefreshCache()");