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:
parent
85c23cfc3d
commit
8f6ca20a2c
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue