From d7b1ef889c6bb696568c3b135b99bb0d171de40c Mon Sep 17 00:00:00 2001 From: Simon Date: Wed, 11 Dec 2019 12:04:20 +0100 Subject: [PATCH] Warn on windows (#467) * Warn on windows * reword --- src/Gtk.jl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Gtk.jl b/src/Gtk.jl index 8218915b..f6a19e7f 100644 --- a/src/Gtk.jl +++ b/src/Gtk.jl @@ -70,6 +70,9 @@ include("gio.jl") include("application.jl") function __init__() + if Sys.iswindows() + @warn "You are using Gtk on Windows which is currently not recommended. Your REPL/IDE and anything depending on task switches will become sluggish and much slower (up to ~85x slower)." + end # Set XDG_DATA_DIRS so that Gtk can find its icons and schemas ENV["XDG_DATA_DIRS"] = join(filter(x -> x != nothing, [ dirname(adwaita_icons_dir),