diff options
author | António Fernandes <antoniof@gnome.org> | 2021-12-22 22:40:04 +0000 |
---|---|---|
committer | António Fernandes <antoniojpfernandes@gmail.com> | 2022-01-05 01:44:35 +0000 |
commit | 9e15ee29b24a3b3bc9644e9deeebd3bf29647205 (patch) | |
tree | 9e1dbaeb457e2c430e349d2a5fa4607829316f10 /po | |
parent | be23d8a316756610dd567dbdb63ae0c6ace9199b (diff) | |
download | nautilus-9e15ee29b24a3b3bc9644e9deeebd3bf29647205.tar.gz |
window-slot: Drop non-window usage of gtk_widget_destroy()
When switching to GTK 4 we are going to replace gtk_widget_destroy()
with gtk_window_destroy(). This requires we drop all usage of this
method on widgets other than GtkWindows.
For the content view, add a gtk_box_remove() which matches the
gtk_box_append() already present in this file.
For the query editor, there is no need to destroy it here, because
this is not the file where it's added to its parent. It's added in
the toolbar, and the toolbar already has a weak ref on the slot to
do this when the slot is destroyed. So, simply clear the reference
we have sunk in this file.
Diffstat (limited to 'po')
0 files changed, 0 insertions, 0 deletions