Do not change the notification queue inside finalization
authorEmmanuele Bassi <ebassi@gnome.org>
Sun, 11 Dec 2022 00:36:03 +0000 (00:36 +0000)
committerEmmanuele Bassi <ebassi@gnome.org>
Sun, 11 Dec 2022 00:36:03 +0000 (00:36 +0000)
commitb3b5a5064eb802b4f2c2a92943e521cbb54801e0
tree50d5a42e408f4decbae1fa900aa3b7ed6ba8808a
parent6f7a4b67c2502f6ad3cef43889e2f020255d2a72
Do not change the notification queue inside finalization

Notifications are not going to be emitted during the finalization, and
GObject will warn if you try to acquire and release a reference to the
notification queue when the reference count of an object has reached
zero.

Fixes: #5420
gtk/gtkimage.c