-
Jehan authored
Other than multi-threading (which here is not the problem), using GWeakRef has the other advantage that it makes the type of pointer obvious, hence avoiding the kind of errors as fixed in commit 12df7960. One can't just change the pointer value directly, and has to use g_weak_ref_set(), so such problem won't happen again.
7be856a4