summaryrefslogtreecommitdiff
path: root/gtk/gtkmain.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2014-07-10 10:10:11 -0400
committerMatthias Clasen <mclasen@redhat.com>2014-07-10 10:12:02 -0400
commit34245515e532017653b5b84132654734b4d977de (patch)
tree081de46063d2d833c4bf2af8cf32b19029a3a257 /gtk/gtkmain.c
parent562a942f9964e95d036e0e148301d3c7e81f3095 (diff)
downloadgtk+-34245515e532017653b5b84132654734b4d977de.tar.gz
Add a 'touchscreen' debug flag
This has the same effect as the GTK_TEST_TOUCHSCREEN environment variable, but can be toggled at runtime.
Diffstat (limited to 'gtk/gtkmain.c')
-rw-r--r--gtk/gtkmain.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk/gtkmain.c b/gtk/gtkmain.c
index 7e6c4f16d6..16e0fdcb82 100644
--- a/gtk/gtkmain.c
+++ b/gtk/gtkmain.c
@@ -177,7 +177,8 @@ static const GDebugKey gtk_debug_keys[] = {
{"baselines", GTK_DEBUG_BASELINES},
{"pixel-cache", GTK_DEBUG_PIXEL_CACHE},
{"no-pixel-cache", GTK_DEBUG_NO_PIXEL_CACHE},
- {"interactive", GTK_DEBUG_INTERACTIVE}
+ {"interactive", GTK_DEBUG_INTERACTIVE},
+ {"touchscreen", GTK_DEBUG_TOUCHSCREEN}
};
#endif /* G_ENABLE_DEBUG */