[MacRuby-devel] [PATCH] Typos in HotCocoa mappings for NSWindow

Benjamin Stiglitz ben at tanjero.com
Tue Oct 7 15:19:58 PDT 2008


Simple typos, simply fixed:

Index: lib/hotcocoa/mappings/window.rb
===================================================================
--- lib/hotcocoa/mappings/window.rb	(revision 651)
+++ lib/hotcocoa/mappings/window.rb	(working copy)
@@ -93,10 +93,10 @@
    delegating  
"windowDidBecomeMain:",                                    :to  
=> :did_become_main
    delegating  
"windowDidChangeScreen:",                                  :to  
=> :did_change_screen
    delegating  
"windowDidChangeScreenProfile:",                           :to  
=> :did_change_screen_profile
-  delegating  
"windowDidDeminiaturize:",                                 :to  
=> :did_deminiturize
+  delegating  
"windowDidDeminiaturize:",                                 :to  
=> :did_deminiaturize
    delegating  
"windowDidEndSheet:",                                      :to  
=> :did_end_sheet
    delegating  
"windowDidExpose:",                                        :to  
=> :did_expose,               :parameters =>  
["windowDidExpose.userInfo['NSExposedRect']"]
-  delegating  
"windowDidMiniaturize:",                                   :to  
=> :did_miniturize
+  delegating  
"windowDidMiniaturize:",                                   :to  
=> :did_minitaurize
    delegating  
"windowDidMove:",                                          :to  
=> :did_move
    delegating  
"windowDidResignKey:",                                     :to  
=> :did_resign_key
    delegating  
"windowDidResignMain:",                                    :to  
=> :did_resign_main
@@ -106,11 +106,11 @@
    delegating  
"windowShouldZoom:toFrame:",                               :to  
=> :should_zoom?,             :parameters => [:toFrame]
    delegating  
"windowWillBeginSheet:",                                   :to  
=> :will_begin_sheet
    delegating  
"windowWillClose:",                                        :to  
=> :will_close
-  delegating  
"windowWillMiniaturize:",                                  :to  
=> :will_miniturize
+  delegating  
"windowWillMiniaturize:",                                  :to  
=> :will_miniaturize
    delegating  
"windowWillMove:",                                         :to  
=> :will_move
    delegating  
"windowWillResize:toSize:",                                :to  
=> :will_resize,              :parameters => [:toSize]
    delegating  
"windowWillReturnFieldEditor:toObject:",                   :to  
=> :returning_field_editor,   :parameters => [:toObject]
    delegating  
"windowWillReturnUndoManager:",                            :to  
=> :returning_undo_manager
    delegating  
"windowWillUseStandardFrame:defaultFrame:",                :to  
=> :will_use_standard_frame,  :parameters => [:defaultFrame]

-end
\ No newline at end of file
+end

-Ben


More information about the MacRuby-devel mailing list