From 8f6ca20a2cb73b93143387195bd518bcbe51720a Mon Sep 17 00:00:00 2001 From: Evangelos Ribeiro Tzaras Date: Sun, 5 Dec 2021 16:50:19 +0100 Subject: [PATCH] call-window: Clear handle id when hiding call window This fixes GLib criticals like GLib[464166]:CRITICAL: Source ID 17 was not found when attempting to remove it --- src/calls-call-window.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/calls-call-window.c b/src/calls-call-window.c index 7599489..1a9677a 100644 --- a/src/calls-call-window.c +++ b/src/calls-call-window.c @@ -95,6 +95,9 @@ on_delayed_window_hide (gpointer user_data) gtk_widget_set_visible (GTK_WIDGET (self), FALSE); gtk_stack_set_visible_child_name (self->main_stack, "calls"); + + self->hideout_id = 0; + return G_SOURCE_REMOVE; }