pkgkit mod - dont setup null_cb with NULL data as it expects ctxt

This commit is contained in:
Carsten Haitzler 2014-05-23 07:45:29 +09:00
parent 48b7a0c86c
commit 2ed5c979c0
1 changed files with 1 additions and 1 deletions

View File

@ -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()");