mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 20:01:11 +00:00
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:
parent
0fbb26a028
commit
205c9bd67f
5 changed files with 22 additions and 12 deletions
10
ChangeLog
10
ChangeLog
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
{
|
||||
|
|
|
@ -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};
|
||||
|
|
Loading…
Reference in a new issue