Permalink
Browse files

Fixed NSMinYEdge -> CGRectMinYEdge for 64-bit (Snow Leopard) compat

Signed-off-by: Justin Palmer <justin@activereload.net>
  • Loading branch information...
1 parent 2f4522c commit b23158d8483762fb849fe477233ce6851fbf8e8d Dan Udey committed with Caged Jul 21, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 views/TexturedWindow.rb
@@ -11,7 +11,7 @@
class TexturedWindow < OSX::NSWindow
def initWithContentRect_styleMask_backing_defer(rect, mask, backing, defer)
if super_initWithContentRect_styleMask_backing_defer(rect, mask, backing, defer)
- self.setContentBorderThickness_forEdge(44.0, NSMinYEdge)
+ self.setContentBorderThickness_forEdge(44.0, CGRectMinYEdge)
self.registerForDraggedTypes([NSURLPboardType, NSFilenamesPboardType])
end
return self

0 comments on commit b23158d

Please sign in to comment.