Closed Bug 571151 Opened 14 years ago Closed 14 years ago

WARNING: -[NSObject(NSKeyValueCoding) takeValue:forKey:] is deprecated

Categories

(Camino Graveyard :: General, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: phiw2, Assigned: alqahira)

Details

(Whiteboard: [camino-2.0.6])

Attachments

(1 file)

10.6.3 Console noted:
6/10/10 9:09:01 AM	Camino[2572]	*** WARNING: -[NSObject(NSKeyValueCoding) takeValue:forKey:] is deprecated. It will be removed in a future release and should no longer be used.

(I'm not clear what triggered it; I don't remember seeing it before. According to my history, I was loading elpais.com at that moment).

sauron: I think it's http://mxr.mozilla.org/camino/source/src/bookmarks/BookmarkViewController.mm#1476
Attached patch Fix?Splinter Review
According to http://developer.apple.com/mac/library/documentation/cocoa/reference/foundation/Protocols/NSKeyValueCoding_Protocol/DeprecationAppendix/AppendixADeprecatedAPI.html#//apple_ref/occ/instm/NSObject/takeValue:forKey: it's been deprecated since 10.3, too (big surprise; our 10.2-era table and outline views using deprecated calls :P ).

Even better, the fix should be s/take/set/, which means I can attach a patch!
Assignee: nobody → alqahira
Status: NEW → ASSIGNED
Attachment #450279 - Flags: superreview?(stuart.morgan+bugzilla)
Comment on attachment 450279 [details] [diff] [review]
Fix?

sr=smorgan
Attachment #450279 - Flags: superreview?(stuart.morgan+bugzilla) → superreview+
http://hg.mozilla.org/camino/rev/f4815e4678bb
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Er, and CVS trunk; I forgot this applied there.
Landed on CAMINO_2_0_BRANCH in advance of 2.0.6.  (See bug 571152 comment 6 for why.)
Flags: camino2.0.6+
Whiteboard: [camino-2.0.6]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: