Commit e13f29ca authored by Committed by Simon McVittie
Implement dbus_clear_connection(), etc.
These are inspired by GLib's g_clear_pointer() and g_clear_object(), which in turn is descended from CPython's Py_CLEAR_OBJECT. They should make our code a lot less repetitive. Signed-off-by: Simon McVittie <firstname.lastname@example.org> Reviewed-by: Philip Withnall <email@example.com> Bug: https://bugs.freedesktop.org/show_bug.cgi?id=101895
Showing with 138 additions and 0 deletions