mirror of
https://github.com/brl/mutter.git
synced 2024-11-29 03:20:46 -05:00
util: Remove now unused debug functions
They have been replaced with using debug string parsing and topics. https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1465
This commit is contained in:
parent
b1ffd14d62
commit
498248586a
@ -49,7 +49,6 @@ meta_topic_real_valist (MetaDebugTopic topic,
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
static gint verbose_topics = 0;
|
static gint verbose_topics = 0;
|
||||||
static gboolean is_debugging = FALSE;
|
|
||||||
static gboolean replace_current = FALSE;
|
static gboolean replace_current = FALSE;
|
||||||
static int no_prefix = 0;
|
static int no_prefix = 0;
|
||||||
static gboolean is_wayland_compositor = FALSE;
|
static gboolean is_wayland_compositor = FALSE;
|
||||||
@ -164,23 +163,6 @@ meta_remove_verbose_topic (MetaDebugTopic topic)
|
|||||||
verbose_topics &= ~topic;
|
verbose_topics &= ~topic;
|
||||||
}
|
}
|
||||||
|
|
||||||
gboolean
|
|
||||||
meta_is_debugging (void)
|
|
||||||
{
|
|
||||||
return is_debugging;
|
|
||||||
}
|
|
||||||
|
|
||||||
void
|
|
||||||
meta_set_debugging (gboolean setting)
|
|
||||||
{
|
|
||||||
#ifdef WITH_VERBOSE_MODE
|
|
||||||
if (setting)
|
|
||||||
ensure_logfile ();
|
|
||||||
#endif
|
|
||||||
|
|
||||||
is_debugging = setting;
|
|
||||||
}
|
|
||||||
|
|
||||||
gboolean
|
gboolean
|
||||||
meta_get_replace_current_wm (void)
|
meta_get_replace_current_wm (void)
|
||||||
{
|
{
|
||||||
|
@ -32,9 +32,6 @@
|
|||||||
META_EXPORT
|
META_EXPORT
|
||||||
gboolean meta_is_verbose (void);
|
gboolean meta_is_verbose (void);
|
||||||
|
|
||||||
META_EXPORT
|
|
||||||
gboolean meta_is_debugging (void);
|
|
||||||
|
|
||||||
META_EXPORT
|
META_EXPORT
|
||||||
gboolean meta_is_syncing (void);
|
gboolean meta_is_syncing (void);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user