forked from AuroraMiddleware/gtk
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:
parent
65a061f3c2
commit
13c22e4e2f
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user