mirror of
https://github.com/brl/mutter.git
synced 2024-11-21 15:40:41 -05:00
util: Implement meta_verbose() using meta_topic()
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2094>
This commit is contained in:
parent
59166d745e
commit
e280589661
@ -179,14 +179,6 @@ GPid meta_show_dialog (const char *type,
|
||||
|
||||
const char * meta_topic_to_string (MetaDebugTopic topic);
|
||||
|
||||
#define meta_verbose(...) \
|
||||
G_STMT_START \
|
||||
{ \
|
||||
if (meta_is_topic_enabled (META_DEBUG_VERBOSE)) \
|
||||
meta_verbose_real (__VA_ARGS__); \
|
||||
} \
|
||||
G_STMT_END
|
||||
|
||||
#define meta_topic(debug_topic, ...) \
|
||||
G_STMT_START \
|
||||
{ \
|
||||
@ -197,6 +189,8 @@ const char * meta_topic_to_string (MetaDebugTopic topic);
|
||||
} \
|
||||
G_STMT_END
|
||||
|
||||
#define meta_verbose(...) meta_topic (META_DEBUG_VERBOSE, __VA_ARGS__)
|
||||
|
||||
#else
|
||||
|
||||
# ifdef G_HAVE_ISO_VARARGS
|
||||
|
Loading…
Reference in New Issue
Block a user