From ef976cee04d089b04c76540082a424c6625e0080 Mon Sep 17 00:00:00 2001 From: Bob Ham Date: Wed, 10 Oct 2018 09:12:11 +0000 Subject: [PATCH] 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 --- src/calls-call-window.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calls-call-window.c b/src/calls-call-window.c index 825978f..d2a8626 100644 --- a/src/calls-call-window.c +++ b/src/calls-call-window.c @@ -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); }