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

@@ -116,8 +116,8 @@ dispose (GObject *object)
GObjectClass *parent_class = g_type_class_peek (G_TYPE_OBJECT);
CallsCallData *self = CALLS_CALL_DATA (object);
CALLS_DISPOSE_OBJECT (self->call);
CALLS_DISPOSE_OBJECT (self->party);
g_clear_object (&self->call);
g_clear_object (&self->party);
parent_class->dispose (object);
}