mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/virt-viewer
synced 2026-01-02 14:36:48 +00:00
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.
This commit is contained in:
parent
d28077ad08
commit
d71efee014
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user