Commit f88a5dc8 authored by Matthias Clasen's avatar Matthias Clasen

Inspector backend hack

parent f733fa88
......@@ -209,6 +209,12 @@ get_inspector_screen (void)
if (display == NULL)
const gchar *name;
const gchar *backends;
backends = g_getenv ("GTK_INSPECTOR_BACKEND");
if (backends)
gdk_set_allowed_backends (backends);
name = g_getenv ("GTK_INSPECTOR_DISPLAY");
display = gdk_display_open (name);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment