Cleanup
Some checks failed
CI / Ubuntu x64 Clang gnustep-1.9 (push) Has been cancelled
CI / Ubuntu x64 Clang gnustep-2.0 (push) Has been cancelled
CI / Ubuntu x64 GCC (push) Has been cancelled

This commit is contained in:
Gregory John Casamento 2025-02-01 22:54:47 -05:00
parent 51b7cf2ae6
commit 0909019340
2 changed files with 7 additions and 20 deletions

View file

@ -47,9 +47,6 @@ before-all:: version.texi
after-clean::
rm -f *.bak *.cl *.fns *.pr *.log
rm -f version.texi
rm -rf InterfaceBuilder
rm -rf GormCore
rm -rf GormObjCHeaderParser
# Things to do before distcleaning
# before-distclean::

View file

@ -38,16 +38,6 @@
@end
@implementation GormPalettePanel
/*
- (BOOL) canBecomeKeyWindow
{
return NO;
}
- (BOOL) canBecomeMainWindow
{
return YES;
}
*/
@end
@interface GormPaletteView : NSView
@ -128,11 +118,6 @@ static NSImage *dragImage = nil;
if (active != nil)
{
/*
if([active objectForName: @"NSMenu"] != nil &&
[type isEqual: IBMenuPboardType] == YES)
return;
*/
[active pasteType: type fromPasteboard: dragPb parent: nil];
}
}
@ -155,12 +140,14 @@ static NSImage *dragImage = nil;
*/
- (NSDragOperation) draggingEntered: (id<NSDraggingInfo>)sender
{
return NSDragOperationCopy;;
return NSDragOperationCopy;
}
- (BOOL) performDragOperation: (id<NSDraggingInfo>)sender
{
return YES;
}
- (BOOL) prepareForDragOperation: (id<NSDraggingInfo>)sender
{
return YES;
@ -403,6 +390,7 @@ static NSImage *dragImage = nil;
{
int col = 0;
NSBundle *bundle;
for (col = 0; col < [bundles count]; col++)
{
bundle = [bundles objectAtIndex: col];
@ -411,6 +399,7 @@ static NSImage *dragImage = nil;
return YES;
}
}
return NO;
}
@ -618,6 +607,7 @@ static NSImage *dragImage = nil;
[defaults setObject: newUserPalettes forKey: USER_PALETTES];
return self;
}
return nil;
}