[calls] call-window: Clear handle id when hiding call window
- From: Evangelos Ribeiro Tzaras <devrtz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [calls] call-window: Clear handle id when hiding call window
- Date: Sun, 5 Dec 2021 16:36:55 +0000 (UTC)
commit 8f6ca20a2cb73b93143387195bd518bcbe51720a
Author: Evangelos Ribeiro Tzaras <devrtz fortysixandtwo eu>
Date: Sun Dec 5 16:50:19 2021 +0100
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 75994897..1a9677a0 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;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]