Add G_SOURCE_REMOVE to vir-glib-compat

G_SOURCE_REMOVE was introduced in GLib 2.32 and has its value defined as
FALSE.
This commit is contained in:
Fabiano Fidêncio
2015-03-11 11:10:02 +01:00
parent fa952ad9b2
commit 3d5a295354

View File

@ -71,6 +71,11 @@ G_BEGIN_DECLS
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
G_END_DECLS
#endif // _VIRT_GLIB_COMPAT_H