Is this `(GDestroyNotify)` cast necessary? I'd prefer to avoid casts if we can.