Make private symbols actually private (1/n).

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18007 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Alexander Malmberg 2003-10-30 00:23:23 +00:00
parent 0fbb26a028
commit 205c9bd67f
5 changed files with 22 additions and 12 deletions

View file

@ -1,3 +1,13 @@
2003-10-30 00:38 Alexander Malmberg <alexander@malmberg.org>
* Source/NSImage.m (iterate_reps_for_types, repd_for_rep): Make
static.
* Source/NSStepperCell.m (DrawUpButton, DrawDownButton,
HighlightUpButton, HighlightDownButton): Idem.
* Source/NSPrintInfo.m: Make the "class variables" static.
* Source/NSProgressIndicator.m: Idem.
2003-10-29 Bjorn Giesler <bjoern@giesler.de>
* Source/externs.m: New MacOS 10.3 pasteboard types

View file

@ -115,10 +115,10 @@ static NSColor *clearColor = nil;
static Class cachedClass = 0;
static Class bitmapClass = 0;
NSArray *iterate_reps_for_types(NSArray *imageReps, SEL method);
static NSArray *iterate_reps_for_types(NSArray *imageReps, SEL method);
/* Find the GSRepData object holding a representation */
GSRepData*
static GSRepData*
repd_for_rep(NSArray *_reps, NSImageRep *rep)
{
NSEnumerator *enumerator = [_reps objectEnumerator];
@ -1309,7 +1309,7 @@ repd_for_rep(NSArray *_reps, NSImageRep *rep)
array of objects. Add these together, with duplicates
weeded out. Used by imageUnfilteredPasteboardTypes,
imageUnfilteredFileTypes, etc. */
NSArray *
static NSArray *
iterate_reps_for_types(NSArray* imageReps, SEL method)
{
NSImageRep *rep;

View file

@ -45,9 +45,9 @@
// FIXME: retain/release of dictionary with retain/release of printInfo?
// Class variables:
NSPrintInfo *sharedPrintInfoObject = nil;
NSMutableDictionary *printInfoDefaults = nil;
NSDictionary *paperSizes = nil;
static NSPrintInfo *sharedPrintInfoObject = nil;
static NSMutableDictionary *printInfoDefaults = nil;
static NSDictionary *paperSizes = nil;
@interface NSPrintInfo (private)
+ initPrintInfoDefaults;

View file

@ -30,9 +30,9 @@
@implementation NSProgressIndicator
NSColor *fillColour = nil;
static NSColor *fillColour = nil;
#define maxCount 1
NSImage *images[maxCount];
static NSImage *images[maxCount];
+ (void) initialize
{

View file

@ -124,7 +124,7 @@
return c;
}
inline void DrawUpButton(NSRect aRect)
static inline void DrawUpButton(NSRect aRect)
{
NSRectEdge up_sides[] = {NSMinXEdge, NSMaxYEdge,
NSMaxXEdge, NSMinYEdge};
@ -154,7 +154,7 @@ inline void DrawUpButton(NSRect aRect)
PSstroke();
}
inline void HighlightUpButton(NSRect aRect)
static inline void HighlightUpButton(NSRect aRect)
{
NSRectEdge up_sides[] = {NSMinXEdge, NSMaxYEdge,
NSMaxXEdge, NSMinYEdge};
@ -184,7 +184,7 @@ inline void HighlightUpButton(NSRect aRect)
PSstroke();
}
inline void DrawDownButton(NSRect aRect)
static inline void DrawDownButton(NSRect aRect)
{
NSRectEdge up_sides[] = {NSMinXEdge, NSMaxYEdge,
NSMaxXEdge, NSMinYEdge};
@ -215,7 +215,7 @@ inline void DrawDownButton(NSRect aRect)
PSstroke();
}
inline void HighlightDownButton(NSRect aRect)
static inline void HighlightDownButton(NSRect aRect)
{
NSRectEdge up_sides[] = {NSMinXEdge, NSMaxYEdge,
NSMaxXEdge, NSMinYEdge};