Skip to content
Browse files

Fixed a reflection warning.

  • Loading branch information...
1 parent eefbaf7 commit f5838d7d4c2d98453368aa7530928ece3785be36 @daveray committed Mar 4, 2013
Showing with 3 additions and 2 deletions.
  1. +3 −2 src/seesaw/layout.clj
View
5 src/seesaw/layout.clj
@@ -292,8 +292,9 @@
(defn remove!-impl
[container subject & more]
- (let [^java.awt.Container container (if container (to-widget* container))]
- (.remove container (if container (to-widget* subject)))
+ (let [^java.awt.Container container (if container (to-widget* container))
+ ^java.awt.Component subject-widget (if container (to-widget* subject))]
+ (.remove container subject-widget)
(when more
(apply remove!-impl container more))
container))

0 comments on commit f5838d7

Please sign in to comment.
Something went wrong with that request. Please try again.