Commit 250cad77 authored by guinux's avatar guinux

try to fix building fakeroot error

parent 19d3c394
......@@ -138,11 +138,10 @@ namespace Pamac {
}
public async bool check_authorization () {
SourceFunc callback = check_authorization.callback;
bool authorized = false;
ulong handler_id = transaction_interface.get_authorization_finished.connect ((authorized_) => {
authorized = authorized_;
Idle.add ((owned) callback);
check_authorization.callback ();
});
transaction_interface.start_get_authorization ();
yield;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment