diff options
author | Fabiano FidĂȘncio <fidencio@redhat.com> | 2015-07-22 02:08:04 +0200 |
---|---|---|
committer | Fabiano FidĂȘncio <fidencio@redhat.com> | 2015-07-22 14:56:57 +0200 |
commit | d71efee014bff59fc9d3af78925c6899a1d8d97a (patch) | |
tree | 6067cdcdbfc2026c48bd989106a3089b5c00e6c6 | |
parent | d28077ad08f46514f75ca13d9656635cc2111bd5 (diff) | |
download | virt-viewer-d71efee014bff59fc9d3af78925c6899a1d8d97a.tar.gz virt-viewer-d71efee014bff59fc9d3af78925c6899a1d8d97a.tar.xz virt-viewer-d71efee014bff59fc9d3af78925c6899a1d8d97a.zip |
glib-compat: group definitions and functions
There is no need to have more than one glib version checking for the
same version, in the same file. Let's just group them all.
-rw-r--r-- | src/virt-glib-compat.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/virt-glib-compat.h b/src/virt-glib-compat.h index 2c887e9..aa3d7d6 100644 --- a/src/virt-glib-compat.h +++ b/src/virt-glib-compat.h @@ -69,9 +69,7 @@ G_BEGIN_DECLS #if !GLIB_CHECK_VERSION(2,32,0) GByteArray *g_byte_array_new_take (guint8 *data, gsize len); -#endif -#if !GLIB_CHECK_VERSION(2,32,0) #define G_SOURCE_CONTINUE TRUE #define G_SOURCE_REMOVE FALSE #endif |