Drop the CALLS_DISPOSE_OBJECT() macro

Replace it by g_clear_object() as it does the same thing.
This commit is contained in:
Adrien Plazas
2018-08-03 11:08:55 +02:00
parent 700966ccfe
commit 52f7f2da6f
10 changed files with 18 additions and 26 deletions

View File

@@ -191,7 +191,7 @@ dispose (GObject *object)
GObjectClass *parent_class = g_type_class_peek (GTK_TYPE_EVENT_BOX);
CallsCallSelectorItem *self = CALLS_CALL_SELECTOR_ITEM (object);
CALLS_DISPOSE_OBJECT (self->holder);
g_clear_object (&self->holder);
parent_class->dispose (object);
}