mirror of
https://github.com/gnustep/apps-gorm.git
synced 2025-02-23 19:51:00 +00:00
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:
parent
30f4e9a6ff
commit
681db60988
3 changed files with 9 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
NSButton *okButton;
|
||||
NSButton *cancelButton;
|
||||
}
|
||||
- (int)runAsModal;
|
||||
- (NSInteger)runAsModal;
|
||||
|
||||
- (NSTextField *) textField;
|
||||
- (void) cancelHit: (id)sender;
|
||||
|
|
|
@ -11,9 +11,9 @@
|
|||
#include <AppKit/NSPanel.h>
|
||||
|
||||
@implementation GormSetNameController : NSObject
|
||||
- (int)runAsModal
|
||||
- (NSInteger)runAsModal
|
||||
{
|
||||
int result;
|
||||
NSInteger result;
|
||||
|
||||
if (!window)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue