As far as I can tell, the recommended way of checking glib version at compile time is
```
if (GLIB_CHECK_VERSION (2, 36, 0)) { ...
```