Skip to content

Commit

Permalink
return container in empty!()
Browse files Browse the repository at this point in the history
  • Loading branch information
jwahlstrand committed Oct 10, 2022
1 parent ceba423 commit d5ca3dd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/container.jl
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ function empty!(c::GtkContainer)
remove_widget_c = @cfunction(_remove_widget, Nothing, (Ptr{GtkWidget}, Ptr{GObject}))

ccall((:gtk_container_foreach, Gtk.libgtk), Nothing, (Ptr{GObject}, Ptr{Cvoid}, Ptr{GObject}), c, remove_widget_c, c)
c
end
function append!(w::GtkContainer, children)
for child in children
Expand Down

0 comments on commit d5ca3dd

Please sign in to comment.