* GormCore/GormFunctions.m: change float to CGFloat to match

change in gui of -[NSColor getRed:green:blue:alpha:] method


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@34121 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Eric Wasylishen 2011-11-04 18:19:54 +00:00
parent 74b14040ce
commit 570a14f01c
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2011-11-04 Eric Wasylishen <ewasylishen@gmail.com>
* GormCore/GormFunctions.m: change float to CGFloat to match
change in gui of -[NSColor getRed:green:blue:alpha:] method
2011-11-03 Fred Kiefer <FredKiefer@gmx.de> 2011-11-03 Fred Kiefer <FredKiefer@gmx.de>
* Plugins/Xib/GormXibWrapperLoader.h, * Plugins/Xib/GormXibWrapperLoader.h,

View file

@ -198,7 +198,7 @@ NSDictionary *colorToDict(NSColor *color)
if(color != nil) if(color != nil)
{ {
NSMutableDictionary *dict = [NSMutableDictionary dictionary]; NSMutableDictionary *dict = [NSMutableDictionary dictionary];
float red, green, blue, alpha; CGFloat red, green, blue, alpha;
NSNumber *fred = nil; NSNumber *fred = nil;
NSNumber *fgreen = nil; NSNumber *fgreen = nil;
NSNumber *fblue = nil; NSNumber *fblue = nil;