Revision: 609 http://trac.macosforge.org/projects/ruby/changeset/609 Author: lsansonetti@apple.com Date: 2008-09-19 17:08:16 -0700 (Fri, 19 Sep 2008) Log Message: ----------- fix typos Modified Paths: -------------- MacRuby/trunk/lib/hotcocoa/mappings/notification.rb Modified: MacRuby/trunk/lib/hotcocoa/mappings/notification.rb =================================================================== --- MacRuby/trunk/lib/hotcocoa/mappings/notification.rb 2008-09-19 13:14:55 UTC (rev 608) +++ MacRuby/trunk/lib/hotcocoa/mappings/notification.rb 2008-09-20 00:08:16 UTC (rev 609) @@ -5,12 +5,12 @@ def alloc_with_options(options) if options.delete(:post) if options.delete(:distributed) - NSDistributedNotificationCenter.defaultCenter.postNotificationWithName options.delete(:name), object:options.delete(:object), userInfo:options.delete(:info), deliverImmediately:(options.delete(:immediately) == true) + NSDistributedNotificationCenter.defaultCenter.postNotificationName options.delete(:name), object:options.delete(:object), userInfo:options.delete(:info), deliverImmediately:(options.delete(:immediately) == true) else - NSNotificationCenter.defaultCenter.postNotificationWithName options.delete(:name), object:options.delete(:object), userInfo:options.delete(:info) + NSNotificationCenter.defaultCenter.postNotificationName options.delete(:name), object:options.delete(:object), userInfo:options.delete(:info) end else - NSNotification.notificationWithName options.delete(:name), object:options.delete(:object), userInfo:options.delete(:info) + NSNotification.notificationName options.delete(:name), object:options.delete(:object), userInfo:options.delete(:info) end end
participants (1)
-
source_changes@macosforge.org