Make runModal return NSInteger

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@36696 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Riccardo Mottola 2013-06-05 13:26:08 +00:00
parent 30f4e9a6ff
commit 681db60988
3 changed files with 9 additions and 3 deletions

View file

@ -1,3 +1,9 @@
2013-06-05 Riccardo Mottola <rm@gnu.org>
* GormCore/GormSetNameController.h
* GormCore/GormSetNameController.m
Make runModal return NSInteger
2013-05-26: Sebastian Reitenbach <sebastia@l00-bugdead-prods.de>
* Palettes/3Containers/GormNSOutlineView.m
* GormCore/GormMatrixEditor.m

View file

@ -17,7 +17,7 @@
NSButton *okButton;
NSButton *cancelButton;
}
- (int)runAsModal;
- (NSInteger)runAsModal;
- (NSTextField *) textField;
- (void) cancelHit: (id)sender;

View file

@ -11,9 +11,9 @@
#include <AppKit/NSPanel.h>
@implementation GormSetNameController : NSObject
- (int)runAsModal
- (NSInteger)runAsModal
{
int result;
NSInteger result;
if (!window)
{