Skip to content

signal-logger: Don’t pass NULL to G_VALUE_LCOPY()

Philip Withnall requested to merge value-lcopy-null into master

While it may have previously worked, it’s not how the API was meant to be used, and a change in GLib 2.66 means that it now causes a critical warning to be emitted (see GNOME/glib!1505 (comment 984868)).

Fix that by using a custom version of G_VALUE_LCOPY().

Signed-off-by: Philip Withnall pwithnall@endlessos.org

Merge request reports