[vlc-commits] [Git][videolan/vlc][master] macosx: remove unused NSGradient+VLCAdditions

Steve Lhomme (@robUx4) gitlab at videolan.org
Fri Jul 10 19:19:03 UTC 2026



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
54d3a7cf by Serhii Bykov at 2026-07-10T18:54:40+00:00
macosx: remove unused NSGradient+VLCAdditions

- - - - -


7 changed files:

- extras/package/macosx/VLC.xcodeproj/project.pbxproj
- modules/gui/macosx/Makefile.am
- − modules/gui/macosx/extensions/NSGradient+VLCAdditions.h
- − modules/gui/macosx/extensions/NSGradient+VLCAdditions.m
- modules/gui/macosx/views/VLCBottomBarView.m
- modules/gui/macosx/views/VLCPlaybackProgressSliderCell.m
- modules/gui/macosx/views/VLCVolumeSliderCell.m


Changes:

=====================================
extras/package/macosx/VLC.xcodeproj/project.pbxproj
=====================================
@@ -169,7 +169,6 @@
 		53F020A42A91D4A100E79705 /* VLCLibraryWindowToolbarDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 53F020A32A91D4A100E79705 /* VLCLibraryWindowToolbarDelegate.m */; };
 		53F0E92D299B002300491D49 /* VLCInputNodePathControlItem.m in Sources */ = {isa = PBXBuildFile; fileRef = 53F0E92C299B002300491D49 /* VLCInputNodePathControlItem.m */; };
 		53F0E930299B17DF00491D49 /* VLCInputNodePathControl.m in Sources */ = {isa = PBXBuildFile; fileRef = 53F0E92F299B17DF00491D49 /* VLCInputNodePathControl.m */; };
-		53F187A72DB8F42A00BB1F21 /* NSGradient+VLCAdditions.m in Sources */ = {isa = PBXBuildFile; fileRef = 53F187A42DB8F42A00BB1F21 /* NSGradient+VLCAdditions.m */; };
 		53F187A82DB8F42A00BB1F21 /* NSIndexSet+VLCAdditions.m in Sources */ = {isa = PBXBuildFile; fileRef = 53F187A62DB8F42A00BB1F21 /* NSIndexSet+VLCAdditions.m */; };
 		53F399802AC6D6B400B86241 /* VLCLibraryHomeViewVideoCarouselContainerView.m in Sources */ = {isa = PBXBuildFile; fileRef = 53F3997F2AC6D6B400B86241 /* VLCLibraryHomeViewVideoCarouselContainerView.m */; };
 		53F7B2372D4D499400F3B38F /* VLCFileDragRecognisingView.m in Sources */ = {isa = PBXBuildFile; fileRef = 53F7B2362D4D499400F3B38F /* VLCFileDragRecognisingView.m */; };
@@ -518,8 +517,6 @@
 		53F0E92C299B002300491D49 /* VLCInputNodePathControlItem.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = VLCInputNodePathControlItem.m; sourceTree = "<group>"; };
 		53F0E92E299B17DF00491D49 /* VLCInputNodePathControl.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = VLCInputNodePathControl.h; sourceTree = "<group>"; };
 		53F0E92F299B17DF00491D49 /* VLCInputNodePathControl.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = VLCInputNodePathControl.m; sourceTree = "<group>"; };
-		53F187A32DB8F42A00BB1F21 /* NSGradient+VLCAdditions.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "NSGradient+VLCAdditions.h"; sourceTree = "<group>"; };
-		53F187A42DB8F42A00BB1F21 /* NSGradient+VLCAdditions.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = "NSGradient+VLCAdditions.m"; sourceTree = "<group>"; };
 		53F187A52DB8F42A00BB1F21 /* NSIndexSet+VLCAdditions.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "NSIndexSet+VLCAdditions.h"; sourceTree = "<group>"; };
 		53F187A62DB8F42A00BB1F21 /* NSIndexSet+VLCAdditions.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = "NSIndexSet+VLCAdditions.m"; sourceTree = "<group>"; };
 		53F3997D2AC6D50500B86241 /* VLCLibraryHomeViewVideoContainerView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = VLCLibraryHomeViewVideoContainerView.h; sourceTree = "<group>"; };
@@ -1342,8 +1339,6 @@
 				7D28E6352275B4820098D30E /* NSColor+VLCAdditions.m */,
 				7D28E6372275B7340098D30E /* NSFont+VLCAdditions.h */,
 				7D28E6382275B7340098D30E /* NSFont+VLCAdditions.m */,
-				53F187A32DB8F42A00BB1F21 /* NSGradient+VLCAdditions.h */,
-				53F187A42DB8F42A00BB1F21 /* NSGradient+VLCAdditions.m */,
 				5307A6F32967859F001E0C6A /* NSImage+VLCAdditions.h */,
 				5307A6F42967859F001E0C6A /* NSImage+VLCAdditions.m */,
 				53F187A52DB8F42A00BB1F21 /* NSIndexSet+VLCAdditions.h */,
@@ -2289,7 +2284,6 @@
 				535F1BC32B4979D300C78D98 /* VLCLibraryHomeViewBaseCarouselContainerView.m in Sources */,
 				1CCC88F12078A3D500E5626F /* AddonManager.xib in Sources */,
 				7DFBDCC1226DC16200B700A5 /* VLCInputItem.m in Sources */,
-				53F187A72DB8F42A00BB1F21 /* NSGradient+VLCAdditions.m in Sources */,
 				53F187A82DB8F42A00BB1F21 /* NSIndexSet+VLCAdditions.m in Sources */,
 				53088E152AD7802C00C21358 /* VLCLibraryCarouselViewItemView.m in Sources */,
 				53B40FD72AA878E400C814E4 /* VLCLibraryHeroView.m in Sources */,


=====================================
modules/gui/macosx/Makefile.am
=====================================
@@ -102,8 +102,6 @@ libmacosx_plugin_la_SOURCES = \
 	gui/macosx/extensions/NSAnimationContext+VLCAdditions.m \
 	gui/macosx/extensions/NSArray+VLCAdditions.h \
 	gui/macosx/extensions/NSArray+VLCAdditions.m \
-	gui/macosx/extensions/NSGradient+VLCAdditions.h \
-	gui/macosx/extensions/NSGradient+VLCAdditions.m \
 	gui/macosx/extensions/NSColor+VLCAdditions.h \
 	gui/macosx/extensions/NSColor+VLCAdditions.m \
 	gui/macosx/extensions/NSFont+VLCAdditions.h \


=====================================
modules/gui/macosx/extensions/NSGradient+VLCAdditions.h deleted
=====================================
@@ -1,33 +0,0 @@
-/*****************************************************************************
- * NSGradient+VLCAdditions.h: Category that adds safer bezier path operations
- *****************************************************************************
- * Copyright (C) 2020 VLC authors and VideoLAN
- *
- * Authors: Marvin Scholz <epirat07 at gmail dot org>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
- *****************************************************************************/
-
-#import <Cocoa/Cocoa.h>
-
- at interface NSGradient (VLCAdditions)
-
-/* Safe alternative to drawInBezierPath:angle: which will throw an
- * exception when trying to draw into an empty NSBezierPath.
- */
-- (void)vlc_safeDrawInBezierPath:(NSBezierPath *)path 
-                           angle:(CGFloat)angle;
-
- at end


=====================================
modules/gui/macosx/extensions/NSGradient+VLCAdditions.m deleted
=====================================
@@ -1,35 +0,0 @@
-/*****************************************************************************
- * NSGradient+VLCAdditions.m: Category that adds safer bezier path operations
- *****************************************************************************
- * Copyright (C) 2020 VLC authors and VideoLAN
- *
- * Authors: Marvin Scholz <epirat07 at gmail dot org>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
- *****************************************************************************/
-
-#import "NSGradient+VLCAdditions.h"
-
- at implementation NSGradient (VLCAdditions)
-
-- (void)vlc_safeDrawInBezierPath:(NSBezierPath *)path 
-                           angle:(CGFloat)angle
-{
-    if ([path isEmpty])
-        return;
-    [self drawInBezierPath:path angle:angle];
-}
-
- at end


=====================================
modules/gui/macosx/views/VLCBottomBarView.m
=====================================
@@ -26,7 +26,6 @@
 
 #import "extensions/NSColor+VLCAdditions.h"
 #import "extensions/NSView+VLCAdditions.h"
-#import "extensions/NSGradient+VLCAdditions.h"
 
 @implementation VLCBottomBarView
 


=====================================
modules/gui/macosx/views/VLCPlaybackProgressSliderCell.m
=====================================
@@ -24,7 +24,6 @@
 
 #import <CoreVideo/CoreVideo.h>
 
-#import "extensions/NSGradient+VLCAdditions.h"
 #import "extensions/NSColor+VLCAdditions.h"
 
 #import "library/VLCLibraryUIUnits.h"


=====================================
modules/gui/macosx/views/VLCVolumeSliderCell.m
=====================================
@@ -22,7 +22,6 @@
 
 #import "VLCVolumeSliderCell.h"
 
-#import "extensions/NSGradient+VLCAdditions.h"
 #import "extensions/NSColor+VLCAdditions.h"
 #import "main/CompatibilityFixes.h"
 



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/54d3a7cf760ab57719188ad5d4ae9113a6652a39

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/54d3a7cf760ab57719188ad5d4ae9113a6652a39
You're receiving this email because of your account on code.videolan.org. Manage all notifications: https://code.videolan.org/-/profile/notifications | Help: https://code.videolan.org/help




More information about the vlc-commits mailing list