Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Clemapfel committed Nov 13, 2023
1 parent 15df5ca commit ce53b5b
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions src/Mousetrap.jl
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,23 @@ Copyright © 2023 C.Cords, Licensed under lGPL-3.0
"""
module Mousetrap

const VERSION = v"0.3.0"
const VERSION = v"0.3.1"

####### detail.jl

module detail
using CxxWrap
function __init__() @initcxx end

using libmousetrap_jll
# use GTK4_jlls settings schema if none are available on the machine
import GTK4_jll
if !Sys.islinux() && (!haskey(ENV, "GSETTINGS_SCHEMA_DIR") || isempty(ENV["GSETTINGS_SCHEMA_DIR"]))
ENV["GSETTINGS_SCHEMA_DIR"] = normpath(joinpath(GTK4_jll.libgtk4, "../../share/glib-2.0/schemas"))
end

using mousetrap_jll
function get_mousetrap_julia_binding()
return libmousetrap_jll.mousetrap_julia_binding
return mousetrap_jll.mousetrap_julia_binding
end

@wrapmodule(get_mousetrap_julia_binding)
Expand Down

0 comments on commit ce53b5b

Please sign in to comment.