Commit 35d140ad authored by Niels De Graef's avatar Niels De Graef Committed by Thibault Saunier

Don't pass default GLib marshallers for signals

By passing NULL to `g_signal_new` instead of a marshaller, GLib will
actually internally optimize the signal (if the marshaller is available
in GLib itself) by also setting the valist marshaller. This makes the
signal emission a bit more performant than the regular marshalling,
which still needs to box into `GValue` and call libffi in case of a
generic marshaller.

Note that for custom marshallers, one would use
`g_signal_set_va_marshaller()` with the valist marshaller instead.
parent 44420b2e
Pipeline #76131 passed with stages
in 54 minutes and 11 seconds