[macruby-changes] [2973] MacRuby/trunk/objc.m

source_changes at macosforge.org source_changes at macosforge.org
Fri Nov 6 18:40:30 PST 2009


Revision: 2973
          http://trac.macosforge.org/projects/ruby/changeset/2973
Author:   lsansonetti at apple.com
Date:     2009-11-06 18:40:26 -0800 (Fri, 06 Nov 2009)
Log Message:
-----------
don't show this annoying warning by default

Modified Paths:
--------------
    MacRuby/trunk/objc.m

Modified: MacRuby/trunk/objc.m
===================================================================
--- MacRuby/trunk/objc.m	2009-11-07 01:09:30 UTC (rev 2972)
+++ MacRuby/trunk/objc.m	2009-11-07 02:40:26 UTC (rev 2973)
@@ -470,7 +470,7 @@
 
     if (!class_addMethod((Class)klass, sel_registerName(buf), 
 			 (IMP)rb_objc_kvo_setter_imp, "v@:@")) {
-	rb_warn("can't register `%s' as an KVO setter on class `%s' "\
+	rb_warning("can't register `%s' as an KVO setter on class `%s' "\
 		"(method `%s')",
 		mid_name, rb_class2name(klass), buf);
     }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20091106/3866dec3/attachment.html>


More information about the macruby-changes mailing list