notification-content: Make sure we disconnect on dispose
Loading
Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this page for instructions on how to get full permissions. Sorry for the inconvenience.
source.puri.sm will be down starting March 18, 6:00 UTC, for a server migration. We expect the migration to take up to 4 hours.
Use g_signal_connect_object() instead of g_signal_connect() so that if self goes away the signal handler gets disconnected.
The notification might live way longer than the content, e.g. when a banner expires but the notification is still in the notification list.
Closes: #321 (closed)
Signed-off-by: Guido Günther guido.gunther@puri.sm