mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 16:40:53 +00:00
Remove some gcc compiler warnings
This commit is contained in:
parent
7fce63432a
commit
3a6dce02be
6 changed files with 85 additions and 86 deletions
|
@ -1605,6 +1605,15 @@ static NSString *_placeholderItem = nil;
|
|||
|
||||
/* Creating Collection view Items */
|
||||
|
||||
- (NSNib *) _nibForClass: (Class)cls
|
||||
{
|
||||
NSString *clsName = NSStringFromClass(cls);
|
||||
NSNib *nib = [[NSNib alloc] initWithNibNamed: clsName
|
||||
bundle: [NSBundle bundleForClass: cls]];
|
||||
AUTORELEASE(nib);
|
||||
return nib;
|
||||
}
|
||||
|
||||
- (NSCollectionViewItem *) makeItemWithIdentifier: (NSUserInterfaceItemIdentifier)identifier
|
||||
forIndexPath: (NSIndexPath *)indexPath
|
||||
{
|
||||
|
@ -1703,15 +1712,6 @@ static NSString *_placeholderItem = nil;
|
|||
|
||||
/* Configuring the Collection view */
|
||||
|
||||
- (NSNib *) _nibForClass: (Class)cls
|
||||
{
|
||||
NSString *clsName = NSStringFromClass(cls);
|
||||
NSNib *nib = [[NSNib alloc] initWithNibNamed: clsName
|
||||
bundle: [NSBundle bundleForClass: cls]];
|
||||
AUTORELEASE(nib);
|
||||
return nib;
|
||||
}
|
||||
|
||||
- (NSView *) backgroundView
|
||||
{
|
||||
return _backgroundView;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue