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:
Jonas Ådahl 2020-10-01 15:19:13 +02:00 committed by Georges Basile Stavracas Neto
parent b1ffd14d62
commit 498248586a
2 changed files with 0 additions and 21 deletions

View File

@ -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)
{ {

View File

@ -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);