mirror of
https://gitlab.gnome.org/GNOME/calls.git
synced 2024-12-13 16:07:36 +00:00
call-window: Use g_clear_handle_id instead of emulating it
This commit is contained in:
parent
8f6ca20a2c
commit
2d18667ee7
1 changed files with 2 additions and 4 deletions
|
@ -112,10 +112,8 @@ update_visibility (CallsCallWindow *self)
|
|||
G_SOURCE_FUNC (on_delayed_window_hide),
|
||||
self);
|
||||
} else {
|
||||
if (self->hideout_id > 0) {
|
||||
g_source_remove (self->hideout_id);
|
||||
self->hideout_id = 0;
|
||||
}
|
||||
g_clear_handle_id (&self->hideout_id, g_source_remove);
|
||||
|
||||
gtk_widget_set_visible (GTK_WIDGET (self), TRUE);
|
||||
|
||||
if (calls == 1)
|
||||
|
|
Loading…
Reference in a new issue