1
0
Fork 0
mirror of https://gitlab.gnome.org/GNOME/calls.git synced 2024-12-14 00:17:35 +00:00

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
This commit is contained in:
Evangelos Ribeiro Tzaras 2021-12-05 16:50:19 +01:00
parent 85c23cfc3d
commit 8f6ca20a2c

View file

@ -95,6 +95,9 @@ on_delayed_window_hide (gpointer user_data)
gtk_widget_set_visible (GTK_WIDGET (self), FALSE); gtk_widget_set_visible (GTK_WIDGET (self), FALSE);
gtk_stack_set_visible_child_name (self->main_stack, "calls"); gtk_stack_set_visible_child_name (self->main_stack, "calls");
self->hideout_id = 0;
return G_SOURCE_REMOVE; return G_SOURCE_REMOVE;
} }