mirror of
https://github.com/brl/mutter.git
synced 2024-11-23 00:20:42 -05:00
util: Fix compilation when !WITH_VERBOSE_MODE
Fixes the following linker error: `meta_add_verbose_topic': <artificial>:(.text+0x372f): undefined reference to `ensure_logfile' Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2405>
This commit is contained in:
parent
97fc21adc1
commit
38314fe5fd
@ -161,7 +161,9 @@ meta_add_verbose_topic (MetaDebugTopic topic)
|
|||||||
if (verbose_topics == META_DEBUG_VERBOSE)
|
if (verbose_topics == META_DEBUG_VERBOSE)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
#ifdef WITH_VERBOSE_MODE
|
||||||
ensure_logfile ();
|
ensure_logfile ();
|
||||||
|
#endif
|
||||||
|
|
||||||
if (topic == META_DEBUG_VERBOSE)
|
if (topic == META_DEBUG_VERBOSE)
|
||||||
verbose_topics = META_DEBUG_VERBOSE;
|
verbose_topics = META_DEBUG_VERBOSE;
|
||||||
|
Loading…
Reference in New Issue
Block a user