core: Drop ot_clear_gvariant() in favor of g_clear_pointer

This commit is contained in:
Colin Walters committed 2012-07-17 08:14:33 -04:00
1 parent 57fcafd1ab
commit 2ced4abf11
7 files changed
+24 -30

No files matched your search

-6
View File
@@ -27,12 +27,6 @@
G_BEGIN_DECLS
#define ot_clear_gvariant(a_v) do { \
if (*a_v) \
g_variant_unref (*a_v); \
*a_v = NULL; \
} while (0);
#define ot_clear_ptrarray(a_v) do { \
if (*a_v) \
g_ptr_array_unref (*a_v); \