mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-13 04:10:13 +00:00
placessidebar: Remove popover using gtk_widget_unparent()
the gtk_widget_destroy() does not work anymore.
This commit is contained in:
parent
aca31c3ab6
commit
002abc6d48
@ -3667,8 +3667,7 @@ show_row_popover (GtkSidebarRow *row)
|
||||
|
||||
g_object_get (row, "sidebar", &sidebar, NULL);
|
||||
|
||||
if (sidebar->popover)
|
||||
gtk_widget_destroy (sidebar->popover);
|
||||
g_clear_pointer (&sidebar->popover, gtk_widget_unparent);
|
||||
|
||||
create_row_popover (sidebar, row);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user