Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Commit

Permalink
Warn on windows (#467)
Browse files Browse the repository at this point in the history
* Warn on windows

* reword
  • Loading branch information
SimonDanisch authored and tknopp committed Dec 11, 2019
1 parent 5347a35 commit d7b1ef8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Gtk.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit d7b1ef8

Please sign in to comment.