MacOSX/Framework/VLCMediaListAspect.m: Use @"media" binding key, instead of @"Media".
authorPierre d'Herbemont <pdherbemont@videolan.org>
Fri, 23 Nov 2007 20:24:51 +0000 (20:24 +0000)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Fri, 23 Nov 2007 20:24:51 +0000 (20:24 +0000)
extras/MacOSX/Framework/Sources/VLCMediaListAspect.m

index dc7d298..e5c0659 100644 (file)
@@ -36,7 +36,7 @@
 @end
 
 @implementation VLCMediaListAspect (KeyValueCodingCompliance)
-/* For the @"Media" key */
+/* For the @"media" key */
 - (int) countOfMedia
 {
     return [self count];
@@ -53,7 +53,7 @@ static void HandleMediaListViewItemAdded(const libvlc_event_t *event, void *user
     NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
     id self = user_data;
     int index = event->u.media_list_view_item_added.index;
-    [self didChange:NSKeyValueChangeInsertion valuesAtIndexes:[NSIndexSet indexSetWithIndex:index] forKey:@"Media"];
+    [self didChange:NSKeyValueChangeInsertion valuesAtIndexes:[NSIndexSet indexSetWithIndex:index] forKey:@"media"];
     [pool release];
 }
 static void HandleMediaListViewItemDeleted( const libvlc_event_t * event, void * user_data)
@@ -61,7 +61,7 @@ static void HandleMediaListViewItemDeleted( const libvlc_event_t * event, void *
     NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
     id self = user_data;
     int index = event->u.media_list_view_item_deleted.index;
-    [self didChange:NSKeyValueChangeRemoval valuesAtIndexes:[NSIndexSet indexSetWithIndex:index] forKey:@"Media"];
+    [self didChange:NSKeyValueChangeRemoval valuesAtIndexes:[NSIndexSet indexSetWithIndex:index] forKey:@"media"];
     [pool release];
 }