[gtk/ebassi/new-a11y: 61/71] Add GTK_DEBUG=accessibility
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/ebassi/new-a11y: 61/71] Add GTK_DEBUG=accessibility
- Date: Wed, 22 Jul 2020 12:26:54 +0000 (UTC)
commit cfb7b356a8313778004f76d0f90ad5e64b01a4da
Author: Matthias Clasen <mclasen redhat com>
Date: Fri Jul 17 10:36:20 2020 -0400
Add GTK_DEBUG=accessibility
Add a debug flag for accessibility-related debug spew.
gtk/gtkdebug.h | 1 +
gtk/gtkmain.c | 1 +
2 files changed, 2 insertions(+)
---
diff --git a/gtk/gtkdebug.h b/gtk/gtkdebug.h
index 4b1a4806e3..451420a603 100644
--- a/gtk/gtkdebug.h
+++ b/gtk/gtkdebug.h
@@ -52,6 +52,7 @@ typedef enum {
GTK_DEBUG_SNAPSHOT = 1 << 14,
GTK_DEBUG_CONSTRAINTS = 1 << 15,
GTK_DEBUG_BUILDER_OBJECTS = 1 << 16,
+ GTK_DEBUG_A11Y = 1 << 17,
} GtkDebugFlag;
#ifdef G_ENABLE_DEBUG
diff --git a/gtk/gtkmain.c b/gtk/gtkmain.c
index 63e2004def..5645e5fc97 100644
--- a/gtk/gtkmain.c
+++ b/gtk/gtkmain.c
@@ -182,6 +182,7 @@ static const GdkDebugKey gtk_debug_keys[] = {
{ "interactive", GTK_DEBUG_INTERACTIVE, "Enable the GTK inspector" },
{ "touchscreen", GTK_DEBUG_TOUCHSCREEN, "Pretend the pointer is a touchscreen" },
{ "snapshot", GTK_DEBUG_SNAPSHOT, "Generate debug render nodes" },
+ { "accessibility", GTK_DEBUG_A11Y, "Information about accessibility state changes" },
};
#endif /* G_ENABLE_DEBUG */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]