filechooserwidget: Disconnect settings signal on dispose

Settings signal was not being disconnected on dispose causing
application crash when user changed icon theme after dialog disposal.
This commit is contained in:
Rafał Dzięgiel 2021-04-01 09:27:06 +02:00
parent 65a061f3c2
commit 13c22e4e2f
No known key found for this signature in database
GPG Key ID: E822910AA836E1B1

View File

@ -3115,6 +3115,7 @@ gtk_file_chooser_widget_dispose (GObject *object)
location_entry_disconnect (impl);
impl->external_entry = NULL;
}
remove_settings_signal (impl, gtk_widget_get_display (GTK_WIDGET (impl)));
g_clear_pointer (&impl->box, gtk_widget_unparent);