diff options
author | Matthias Clasen <mclasen@redhat.com> | 2019-04-06 18:19:40 +0000 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2019-04-06 18:19:40 +0000 |
commit | 721a12826d3f6eca31712bf6269ef6e9776ad84f (patch) | |
tree | d7a6b15879e2561184d210ae1930886b61bb68cd /gtk/inspector | |
parent | 4b40cc27a9f47a2feffb8ae062f3de50c8978706 (diff) | |
download | gtk+-721a12826d3f6eca31712bf6269ef6e9776ad84f.tar.gz |
inspector: Warn if using the default display
Diffstat (limited to 'gtk/inspector')
-rw-r--r-- | gtk/inspector/window.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk/inspector/window.c b/gtk/inspector/window.c index 2bf2a35dea..e7c9ee9fb1 100644 --- a/gtk/inspector/window.c +++ b/gtk/inspector/window.c @@ -398,6 +398,9 @@ get_inspector_display (void) if (!display) display = gdk_display_get_default (); + if (display == gdk_display_get_default ()) + g_message ("Using default display for GtkInspector; expect some spillover"); + return display; } |