From 681db60988a7c8786a3d1a9e4b6f42ea00379324 Mon Sep 17 00:00:00 2001 From: Riccardo Mottola Date: Wed, 5 Jun 2013 13:26:08 +0000 Subject: [PATCH] Make runModal return NSInteger git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@36696 72102866-910b-0410-8b05-ffd578937521 --- ChangeLog | 6 ++++++ GormCore/GormSetNameController.h | 2 +- GormCore/GormSetNameController.m | 4 ++-- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 54d7e883..320edb25 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2013-06-05 Riccardo Mottola + + * GormCore/GormSetNameController.h + * GormCore/GormSetNameController.m + Make runModal return NSInteger + 2013-05-26: Sebastian Reitenbach * Palettes/3Containers/GormNSOutlineView.m * GormCore/GormMatrixEditor.m diff --git a/GormCore/GormSetNameController.h b/GormCore/GormSetNameController.h index 01a35b88..5db9688c 100644 --- a/GormCore/GormSetNameController.h +++ b/GormCore/GormSetNameController.h @@ -17,7 +17,7 @@ NSButton *okButton; NSButton *cancelButton; } -- (int)runAsModal; +- (NSInteger)runAsModal; - (NSTextField *) textField; - (void) cancelHit: (id)sender; diff --git a/GormCore/GormSetNameController.m b/GormCore/GormSetNameController.m index 432d025e..4103e7d3 100644 --- a/GormCore/GormSetNameController.m +++ b/GormCore/GormSetNameController.m @@ -11,9 +11,9 @@ #include @implementation GormSetNameController : NSObject -- (int)runAsModal +- (NSInteger)runAsModal { - int result; + NSInteger result; if (!window) {