Ticket #59393: patch-build-on-post-1014.diff

File patch-build-on-post-1014.diff, 1.9 KB (added by RJVB (René Bertin), 5 years ago)

tentative patch for 10.15

  • modules/gui/macosx/VLCPlaylistInfo.h

    diff --git modules/gui/macosx/VLCPlaylistInfo.h modules/gui/macosx/VLCPlaylistInfo.h
    index e7e1ffd4a5a6e9f9917c7afb526d4c795ede6935..048b08b4a0a0cff72116991c2d0b83b3ab85da84 100644
     
    106106 */
    107107@interface VLCInfoTreeItem : NSObject
    108108
    109 @property (readwrite) NSString *name;
    110 @property (readwrite) NSString *value;
     109@property (readwrite) NSString *propertyName;
     110@property (readwrite) NSString *propertyValue;
    111111
    112112@property (readwrite) NSArray *children;
    113113
  • modules/gui/macosx/VLCPlaylistInfo.m

    diff --git modules/gui/macosx/VLCPlaylistInfo.m modules/gui/macosx/VLCPlaylistInfo.m
    index 6d5c8c2906b9d0eb45cdad64a705bcdae0091fe0..eb4e481a666c70c48087ae707405a87529ec9b2b 100644
    FREENULL( psz_##foo ); 
    303303            info_category_t *cat = p_item->pp_categories[i];
    304304
    305305            VLCInfoTreeItem *subItem = [[VLCInfoTreeItem alloc] init];
    306             subItem.name = toNSStr(cat->psz_name);
     306            subItem.propertyName = toNSStr(cat->psz_name);
    307307
    308308            // Build list of codec details
    309309            NSMutableArray *infos = [NSMutableArray array];
    310310
    311311            for (int j = 0; j < cat->i_infos; j++) {
    312312                VLCInfoTreeItem *infoItem = [[VLCInfoTreeItem alloc] init];
    313                 infoItem.name = toNSStr(cat->pp_infos[j]->psz_name);
    314                 infoItem.value = toNSStr(cat->pp_infos[j]->psz_value);
     313                infoItem.propertyName = toNSStr(cat->pp_infos[j]->psz_name);
     314                infoItem.propertyValue = toNSStr(cat->pp_infos[j]->psz_value);
    315315                [infos addObject:infoItem];
    316316            }
    317317
    FREENULL( psz_##foo ); 
    397397        return @"";
    398398
    399399    if ([[tableColumn identifier] isEqualToString:@"0"])
    400         return [item name];
     400        return [item propertyName];
    401401    else
    402         return [item value];
     402        return [item propertyValue];
    403403}
    404404
    405405@end