mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 06:20:47 +00:00
removed c99isms
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30175 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
9da9dae16e
commit
a4fb383863
3 changed files with 33 additions and 13 deletions
|
@ -393,6 +393,7 @@ static void initSystemExtensionsColors(void)
|
|||
NSString *identifier = [item itemIdentifier];
|
||||
NSToolbar *toolbar = [self toolbar];
|
||||
NSArray *allowedItemIdentifiers = [[toolbar delegate] toolbarAllowedItemIdentifiers: toolbar];
|
||||
int newIndex;
|
||||
|
||||
// don't accept any dragging if the customization palette isn't running for this toolbar
|
||||
if (![toolbar customizationPaletteIsRunning] || ![allowedItemIdentifiers containsObject: identifier])
|
||||
|
@ -424,7 +425,7 @@ static void initSystemExtensionsColors(void)
|
|||
draggedItemIndex = NSNotFound;
|
||||
}
|
||||
|
||||
int newIndex = [self _insertionIndexAtPoint: [info draggingLocation]];
|
||||
newIndex = [self _insertionIndexAtPoint: [info draggingLocation]];
|
||||
|
||||
if (draggedItemIndex != NSNotFound)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue