mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-06-04 11:50:42 +00:00
Fix compilation error...
This commit is contained in:
parent
54a1c41bb5
commit
69de2d33d2
1 changed files with 7 additions and 7 deletions
|
@ -45,8 +45,8 @@
|
||||||
#import "GSFastEnumeration.h"
|
#import "GSFastEnumeration.h"
|
||||||
|
|
||||||
/* Class variables and functions for class methods */
|
/* Class variables and functions for class methods */
|
||||||
static NSArray *videoSourcePlugIns = nil;
|
static NSArray *__videoSourcePlugIns = nil;
|
||||||
static NSArray *videoSinkPlugIns = nil;
|
static NSArray *__videoSinkPlugIns = nil;
|
||||||
|
|
||||||
static inline void _loadNSMoviePlugIns (void)
|
static inline void _loadNSMoviePlugIns (void)
|
||||||
{
|
{
|
||||||
|
@ -87,8 +87,8 @@ static inline void _loadNSMoviePlugIns (void)
|
||||||
}
|
}
|
||||||
END_FOR_IN(all);
|
END_FOR_IN(all);
|
||||||
|
|
||||||
videoSourcePlugIns = [[NSArray alloc] initWithArray: sourcePlugins];
|
__videoSourcePlugIns = [[NSArray alloc] initWithArray: sourcePlugins];
|
||||||
videoSinkPlugIns = [[NSArray alloc] initWithArray: sinkPlugins];
|
__videoSinkPlugIns = [[NSArray alloc] initWithArray: sinkPlugins];
|
||||||
}
|
}
|
||||||
|
|
||||||
@implementation NSMovie
|
@implementation NSMovie
|
||||||
|
@ -109,11 +109,11 @@ static inline void _loadNSMoviePlugIns (void)
|
||||||
NSEnumerator *enumerator;
|
NSEnumerator *enumerator;
|
||||||
|
|
||||||
array = [NSMutableArray arrayWithCapacity: 10];
|
array = [NSMutableArray arrayWithCapacity: 10];
|
||||||
FOR_IN(Class, sourceClass, videoSourcePlugIns)
|
FOR_IN(Class, sourceClass, __videoSourcePlugIns)
|
||||||
{
|
{
|
||||||
[array addObjectsFromArray: [sourceClass movieUnfilteredFileTypes]];
|
[array addObjectsFromArray: [sourceClass movieUnfilteredFileTypes]];
|
||||||
}
|
}
|
||||||
END_FOR_IN(videoSourcePlugins);
|
END_FOR_IN(__videoSourcePlugIns);
|
||||||
|
|
||||||
return array;
|
return array;
|
||||||
}
|
}
|
||||||
|
@ -200,7 +200,7 @@ static inline void _loadNSMoviePlugIns (void)
|
||||||
- (void) dealloc
|
- (void) dealloc
|
||||||
{
|
{
|
||||||
TEST_RELEASE(_url);
|
TEST_RELEASE(_url);
|
||||||
TEST_RELEASE(_movie);
|
TEST_RELEASE(_movieData);
|
||||||
|
|
||||||
[super dealloc];
|
[super dealloc];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue