Skip to content

power: Use g_signal_connect_object

Objects created using the object storage API are not disposed when the panel that created them is disposed. In order to prevent segfaults we need to manually disconnect signal handler connected to these objects or we can do it automatically using g_signal_connect_object.

Fixes: https://launchpad.net/bugs/1797205

Merge request reports