GSignal: Impossible to have return values in signals which are G_SIGNAL_RUN_FIRST only
@sdroege
Submitted by Sebastian Dröge Link to original bug (#670192)
Description
The code in gsignal.c:1600 checks for signals with return value (signal_flags & (G_SIGNAL_RUN_FIRST | G_SIGNAL_RUN_LAST | G_SIGNAL_RUN_CLEANUP)) == G_SIGNAL_RUN_FIRST) and if this condition is aborts signal creation.
There's no comment or documentation for why this isn't allowed. Maybe this should be for RUN_CLEANUP-only signals instead, see bug #670190, because the return values of those are ignored? I don't see a reason why this restriction should be there though.
Version: 2.25.x