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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user