diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2022-10-10 13:30:41 +0000 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2022-10-10 13:30:41 +0000 |
commit | 0b5d4a079bf02f0a869afcbad3c20190776d733e (patch) | |
tree | fcb31872717a48660af9378c6b1e29fa7b12fb12 /glnx-backports.h | |
parent | 5e072816e8354d93af3db1aef7a7f4bd8c0d6e8b (diff) | |
parent | c5e1b295bc0f60b4562cd3db0379c0822ed758f1 (diff) | |
download | libglnx-0b5d4a079bf02f0a869afcbad3c20190776d733e.tar.gz |
Merge branch 'wip/smcv/g-info' into 'master'
backports: Backport g_info()
See merge request GNOME/libglnx!40
Diffstat (limited to 'glnx-backports.h')
-rw-r--r-- | glnx-backports.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/glnx-backports.h b/glnx-backports.h index 6f766a3..d109833 100644 --- a/glnx-backports.h +++ b/glnx-backports.h @@ -48,6 +48,10 @@ G_BEGIN_DECLS } G_STMT_END #endif +#if !GLIB_CHECK_VERSION(2, 40, 0) +#define g_info(...) g_log (G_LOG_DOMAIN, G_LOG_LEVEL_INFO, __VA_ARGS__) +#endif + #if !GLIB_CHECK_VERSION(2, 44, 0) #define g_strv_contains glnx_strv_contains |