[vlc-commits] [Git][videolan/vlc][master] macosx: replace deprecated nsregularcontrolsize types
Steve Lhomme (@robUx4)
gitlab at videolan.org
Sun Apr 12 11:39:10 UTC 2026
Steve Lhomme pushed to branch master at VideoLAN / VLC
Commits:
7531dd37 by Serhii Bykov at 2026-04-12T11:27:10+00:00
macosx: replace deprecated nsregularcontrolsize types
- - - - -
1 changed file:
- modules/gui/macosx/windows/extensions/VLCExtensionsDialogProvider.m
Changes:
=====================================
modules/gui/macosx/windows/extensions/VLCExtensionsDialogProvider.m
=====================================
@@ -60,7 +60,7 @@ static NSView *createControlFromWidget(extension_widget_t *widget, id self)
[field setAllowsEditingTextAttributes:YES];
[field setSelectable:YES];
[field setFont:[NSFont systemFontOfSize:0]];
- [[field cell] setControlSize:NSRegularControlSize];
+ [[field cell] setControlSize:NSControlSizeRegular];
[field setAutoresizingMask:NSViewNotSizable];
return field;
}
@@ -70,7 +70,7 @@ static NSView *createControlFromWidget(extension_widget_t *widget, id self)
[field setWidget:widget];
[field setAutoresizingMask:NSViewWidthSizable];
[field setFont:[NSFont systemFontOfSize:0]];
- [[field cell] setControlSize:NSRegularControlSize];
+ [[field cell] setControlSize:NSControlSizeRegular];
[NSNotificationCenter.defaultCenter addObserver:self selector:@selector(syncTextField:) name:NSControlTextDidChangeNotification object:field];
return field;
}
@@ -80,7 +80,7 @@ static NSView *createControlFromWidget(extension_widget_t *widget, id self)
[field setWidget:widget];
[field setAutoresizingMask:NSViewWidthSizable];
[field setFont:[NSFont systemFontOfSize:0]];
- [[field cell] setControlSize:NSRegularControlSize];
+ [[field cell] setControlSize:NSControlSizeRegular];
[NSNotificationCenter.defaultCenter addObserver:self selector:@selector(syncTextField:) name:NSControlTextDidChangeNotification object:field];
return field;
}
@@ -93,7 +93,7 @@ static NSView *createControlFromWidget(extension_widget_t *widget, id self)
[button setAction:@selector(triggerClick:)];
[button setTarget:self];
[button setFont:[NSFont systemFontOfSize:0.0]];
- [[button cell] setControlSize:NSRegularControlSize];
+ [[button cell] setControlSize:NSControlSizeRegular];
[button setAutoresizingMask:NSViewWidthSizable];
return button;
}
@@ -105,7 +105,7 @@ static NSView *createControlFromWidget(extension_widget_t *widget, id self)
[button setAction:@selector(triggerClick:)];
[button setTarget:self];
[button setFont:[NSFont systemFontOfSize:0.0]];
- [[button cell] setControlSize:NSRegularControlSize];
+ [[button cell] setControlSize:NSControlSizeRegular];
[button setAutoresizingMask:NSViewNotSizable];
return button;
}
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/7531dd37c5ab3695f1b47092037a11964968ba51
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/7531dd37c5ab3695f1b47092037a11964968ba51
You're receiving this email because of your account on code.videolan.org.
More information about the vlc-commits
mailing list