It doesn't check for error after calling polkit_unix_session_new_for_process_sync(). And if this call is failed the next polkit_agent_register_listener returns not successful result but error == NULL.
Thanks, apply to lxsession git (where lxpolkit is hosted now)
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.