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

@@ -442,8 +442,8 @@ dispose (GObject *object)
// FIXME
CALLS_DISPOSE_OBJECT (self->manager);
CALLS_DISPOSE_OBJECT (self->connection);
g_clear_object (&self->manager);
g_clear_object (&self->connection);
parent_class->dispose (object);
}