~ubuntu-branches/ubuntu/utopic/vlc/utopic

« back to all changes in this revision

Viewing changes to modules/gui/macosx/PXSourceList.m

  • Committer: Package Import Robot
  • Author(s): Benjamin Drung
  • Date: 2012-07-21 17:52:21 UTC
  • mfrom: (1.1.48) (3.5.44 sid)
  • Revision ID: package-import@ubuntu.com-20120721175221-53m5pclzo992kawy
Tags: 2.0.3-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
397
397
                    }
398
398
 
399
399
                    //Use 10.6 NSImage drawing if we can
400
 
                    if([icon respondsToSelector:@selector(drawInRect:fromRect:operation:fraction:respectFlipped:hints:)]) {
 
400
                    if(NSAppKitVersionNumber >= 1115.2) { // Lion
401
401
                        [icon drawInRect:iconRect
402
402
                                fromRect:NSZeroRect
403
403
                               operation:NSCompositeSourceOver