glib-compat: add g_clear_pointer
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Sat, 16 Jun 2012 10:51:02 +0000 (12:51 +0200)
committerMarc-André Lureau <marcandre.lureau@redhat.com>
Sun, 8 Jul 2012 22:32:20 +0000 (00:32 +0200)
commitcdc5a86c785e071186f52058f27d2236cbac334e
treec4aa7d98aa37814559d9fc6c0920c44403f95e71
parentbd58a9d80cb03c2fa65612e1ada8b668390bab17
glib-compat: add g_clear_pointer

A helpful macro from glib 2.34
gtk/glib-compat.h