Skip to content

Use C++ λ-functions for widget signal handlers

Ghost User requested to merge (removed):master into master

This results in slightly more compact source code compared to using C signal handling functions (C: 768 lines, C++: 598 lines), at the cost of increasing libcpugraph.so size.

CPUGraphOptions now uses xfce4::Ptr which will automatically deallocate the CPUGraphOptions instance as soon as GLib destroys all signals handlers pointing to the instance.

Merge request reports