mirror of
https://gitlab.gnome.org/GNOME/calls.git
synced 2025-01-05 19:15:32 +00:00
call-window: Remove display and holder in the right order
In the current order, the holder is finalized before we can get the display, causing an error. We just have to switch the two around
This commit is contained in:
parent
224ab410d0
commit
ef976cee04
1 changed files with 1 additions and 1 deletions
|
@ -251,9 +251,9 @@ remove_call_holder (CallsCallWindow *self,
|
|||
guint position,
|
||||
CallsCallHolder *holder)
|
||||
{
|
||||
g_list_store_remove (self->call_holders, position);
|
||||
gtk_container_remove (GTK_CONTAINER (self->call_stack),
|
||||
GTK_WIDGET (calls_call_holder_get_display (holder)));
|
||||
g_list_store_remove (self->call_holders, position);
|
||||
|
||||
update_visibility (self);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue