Change tag to NSInteger.

Patch by Anibal Rindisbacher <anibal784@gmail.com>.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30026 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
fredkiefer 2010-03-23 21:26:24 +00:00
parent a6880c0f99
commit d2321f05c7
12 changed files with 42 additions and 27 deletions

View file

@ -168,7 +168,7 @@ static NSNotificationCenter *nc;
/** <p>Returns the tag of the NSControl's selected cell (if exists).
-1 otherwise.</p><p>See Also: [NSCell-tag]</p>
*/
- (int) selectedTag
- (NSInteger) selectedTag
{
NSCell *selected = [self selectedCell];
@ -784,7 +784,7 @@ static NSNotificationCenter *nc;
/** Assigning a Tag
*/
- (void) setTag: (int)anInt
- (void) setTag: (NSInteger)anInt
{
_tag = anInt;
}
@ -792,7 +792,7 @@ static NSNotificationCenter *nc;
/**<p>Returns the NSControl tag</p>
<p>See Also: -setTag:</p>
*/
- (int) tag
- (NSInteger) tag
{
return _tag;
}