mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 13:00:37 +00:00
Avoid compiler warnings on Windows.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25985 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
99e9f5a69e
commit
c0a656abd0
6 changed files with 16 additions and 2 deletions
10
ChangeLog
10
ChangeLog
|
@ -1,3 +1,13 @@
|
||||||
|
2008-01-19 Fred Kiefer <FredKiefer@gmx.de>
|
||||||
|
|
||||||
|
* Source/GSFontInfo.m:
|
||||||
|
* Source/NSFontDescriptor.m,
|
||||||
|
* Source/NSTextBlock.m,
|
||||||
|
* Source/NSWindow.m:
|
||||||
|
Add imports to avoid warnings on Windows.
|
||||||
|
* Source/NSMenu.m (-_organizeMenu): Change type of appItem to
|
||||||
|
avoid compiler warning on Windows.
|
||||||
|
|
||||||
2008-01-19 Fred Kiefer <FredKiefer@gmx.de>
|
2008-01-19 Fred Kiefer <FredKiefer@gmx.de>
|
||||||
|
|
||||||
* Headers/Additions/GNUstepGUI/GSDisplayServer.h
|
* Headers/Additions/GNUstepGUI/GSDisplayServer.h
|
||||||
|
|
|
@ -30,6 +30,7 @@
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
|
||||||
#include "GNUstepGUI/GSFontInfo.h"
|
#include "GNUstepGUI/GSFontInfo.h"
|
||||||
|
#include <Foundation/NSCharacterSet.h>
|
||||||
#include <Foundation/NSDictionary.h>
|
#include <Foundation/NSDictionary.h>
|
||||||
#include <Foundation/NSString.h>
|
#include <Foundation/NSString.h>
|
||||||
#include <Foundation/NSArray.h>
|
#include <Foundation/NSArray.h>
|
||||||
|
|
|
@ -33,6 +33,7 @@
|
||||||
#include <Foundation/NSCoder.h>
|
#include <Foundation/NSCoder.h>
|
||||||
#include <Foundation/NSDictionary.h>
|
#include <Foundation/NSDictionary.h>
|
||||||
#include <Foundation/NSEnumerator.h>
|
#include <Foundation/NSEnumerator.h>
|
||||||
|
#include <Foundation/NSSet.h>
|
||||||
#include <Foundation/NSString.h>
|
#include <Foundation/NSString.h>
|
||||||
#include <Foundation/NSValue.h>
|
#include <Foundation/NSValue.h>
|
||||||
|
|
||||||
|
|
|
@ -213,10 +213,10 @@ static BOOL menuBarVisible = YES;
|
||||||
{
|
{
|
||||||
NSString *appTitle;
|
NSString *appTitle;
|
||||||
NSMenu *appMenu;
|
NSMenu *appMenu;
|
||||||
NSMenuItem *appItem;
|
id <NSMenuItem> appItem;
|
||||||
|
|
||||||
appTitle = [[NSProcessInfo processInfo] processName];
|
appTitle = [[NSProcessInfo processInfo] processName];
|
||||||
appItem = (NSMenuItem *)[self itemWithTitle: appTitle];
|
appItem = [self itemWithTitle: appTitle];
|
||||||
appMenu = [appItem submenu];
|
appMenu = [appItem submenu];
|
||||||
|
|
||||||
if (_menu.horizontal == YES)
|
if (_menu.horizontal == YES)
|
||||||
|
|
|
@ -29,6 +29,7 @@
|
||||||
#include <Foundation/NSCoder.h>
|
#include <Foundation/NSCoder.h>
|
||||||
#include <Foundation/NSString.h>
|
#include <Foundation/NSString.h>
|
||||||
|
|
||||||
|
#include "AppKit/NSColor.h"
|
||||||
#include "AppKit/NSTextTable.h"
|
#include "AppKit/NSTextTable.h"
|
||||||
|
|
||||||
@implementation NSTextBlock
|
@implementation NSTextBlock
|
||||||
|
|
|
@ -52,6 +52,7 @@
|
||||||
#include <Foundation/NSUserDefaults.h>
|
#include <Foundation/NSUserDefaults.h>
|
||||||
|
|
||||||
#include "AppKit/NSApplication.h"
|
#include "AppKit/NSApplication.h"
|
||||||
|
#include "AppKit/NSButton.h"
|
||||||
#include "AppKit/NSButtonCell.h"
|
#include "AppKit/NSButtonCell.h"
|
||||||
#include "AppKit/NSCachedImageRep.h"
|
#include "AppKit/NSCachedImageRep.h"
|
||||||
#include "AppKit/NSColor.h"
|
#include "AppKit/NSColor.h"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue