Commit 614bb626 authored by Ray Strode's avatar Ray Strode

lib: call g_clear_object in update_info instead of g_object_unref

This will let us clear the cancellable in the finished handler
unconditionally, removing some subtleness in the code.
parent 0d931ef1
......@@ -1352,7 +1352,7 @@ update_info (ActUser *user)
if (user->get_all_call != NULL) {
g_cancellable_cancel (user->get_all_call);
g_object_unref (user->get_all_call);
g_clear_object (&user->get_all_call);
user->get_all_call = g_cancellable_new ();
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