gobject: Allow passing %NULL for @data in g_object_remove_toggle_ref
Submitted by Jasper St. Pierre
Link to original bug (#722272)
Description
Ran into this in gjs. The data we pass in add_toggle_ref is the context, which we need in the ref function itself, but we don't have this during the finalizer, as the finalizer doesn't give us a context (for good reason).