projects
/
NetworkManager.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
22b3494
)
nm-glib: backport g_info() macro
author
Thomas Haller
<thaller@redhat.com>
Wed, 24 Feb 2016 14:14:41 +0000
(15:14 +0100)
committer
Thomas Haller
<thaller@redhat.com>
Wed, 24 Feb 2016 19:04:29 +0000
(20:04 +0100)
shared/nm-glib.h
patch
|
blob
|
history
diff --git
a/shared/nm-glib.h
b/shared/nm-glib.h
index
201b6d3
..
c92d6f0
100644
(file)
--- a/
shared/nm-glib.h
+++ b/
shared/nm-glib.h
@@
-367,4
+367,11
@@
_nm_g_hash_table_get_keys_as_array (GHashTable *hash_table,
})
#endif
+#ifndef g_info
+/* g_info was only added with 2.39.2 */
+#define g_info(...) g_log (G_LOG_DOMAIN, \
+ G_LOG_LEVEL_INFO, \
+ __VA_ARGS__)
+#endif
+
#endif /* __NM_GLIB_H__ */