Niels De Graef dc5fd4f15e channel-map: Don't specify default c_marshaller
Apart from being less code, this actually gives us a tiny performance
improvement. Up until a few years ago, if you pass `NULL` as the
marshaller for a signal, GLib would fall back to
`g_cclosure_marshal_generic` which uses libffi to pack/unpack its
arguments. One could avoid this by specifying a more specific
marshaller which would then be used to immediately pack and unpack into
GValues with the correct type.

Lately however, as a way of optimizing signal emission (which can be
quite expensive), GLib added a possibility to set a `va_marshaller`,
which skips the unnecessary GValue packing and unpacking and just uses a
valist variant.

Since the performance difference is big enough, if the marshaller
argument is NULL, `g_signal_new()` will now check for the simple
marshallers (return type NONE and a single argument) and set both the
generic and the valist marshaller. In other words, less code for us with
behind-the-scenes optimizations.

In case you also want va_marshallers for more complex signals, you can
use `g_signal_set_va_marshaller()`.
2023-07-18 15:52:10 +00:00
2019-11-22 19:37:31 +01:00
2020-04-09 13:53:36 +00:00
2023-07-18 16:34:32 +02:00
2012-10-19 20:00:25 +02:00
2012-10-19 20:00:25 +02:00
2012-10-19 20:00:25 +02:00
2012-10-19 20:00:25 +02:00
2012-10-19 20:00:25 +02:00
2012-10-19 20:00:47 +02:00
2012-10-19 20:00:47 +02:00
2012-10-19 20:00:25 +02:00
2018-01-30 13:15:36 +01:00
2020-04-09 12:14:25 +02:00
2018-09-07 15:31:39 +02:00

libgnome-volume-control

libgnome-volume-control is a copy library that's supposed to be used as a git sub-module. If your project uses some of libgnome-volume-control's strings in a user-facing manner, don't forget to add those files to your POTFILES.in for translation.

Projects using libgnome-volume-control

Description
No description provided
Readme 239 KiB
Languages
C 98.5%
Meson 1.5%