Skip to content

Commit

Permalink
fix Gtk deprecation warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
flo12345678 authored and nolta committed Jul 15, 2017
1 parent f6ae1dd commit ae419c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gtk.jl
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import Gtk

function gtkwindow(name, w, h, closecb=nothing)
c = Gtk.@Canvas()
win = Gtk.@Window(c, name, w, h)
c = Gtk.Canvas()
win = Gtk.Window(c, name, w, h)
if closecb !== nothing
Gtk.on_signal_destroy(closecb, win)
end
Expand Down

0 comments on commit ae419c3

Please sign in to comment.