changeset 128:d37d6c5b3b08

Added a type hint.
author Mikhail Kryshen <mikhail@kryshen.net>
date Thu, 12 Apr 2012 23:15:50 +0400
parents 911228da1bc8
children 137e64553123
files src/net/kryshen/indyvon/component.clj
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/net/kryshen/indyvon/component.clj	Thu Apr 12 23:13:20 2012 +0400
+++ b/src/net/kryshen/indyvon/component.clj	Thu Apr 12 23:15:50 2012 +0400
@@ -59,7 +59,7 @@
        (listen! event-dispatcher panel)
        panel)))
 
-(defn make-jframe [^String title layer]
+(defn ^JFrame make-jframe [^String title layer]
   (doto (JFrame. title)
     (.. (getContentPane) (add (make-jpanel layer)))
     (.pack)))