tree: Remove custom clearing macros

The macros was emulating g_clear_handle_id() and friends
let's use the glib functions directly instead.

Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/755>
This commit is contained in:
Evangelos Ribeiro Tzaras
2024-09-11 16:31:25 +02:00
parent 5eabbb2ada
commit f810e0a9b1
2 changed files with 1 additions and 15 deletions

View File

@@ -494,7 +494,7 @@ dispose (GObject *object)
g_clear_object (&self->contact);
g_clear_object (&self->action_map);
calls_clear_source (&self->date_change_timeout);
g_clear_handle_id (&self->date_change_timeout, g_source_remove);
calls_clear_signal (self->record, &self->answered_notify_handler_id);
calls_clear_signal (self->record, &self->end_notify_handler_id);
g_clear_object (&self->record);