Ticket #57035: gimp-gimpickbutton.patch
File gimp-gimpickbutton.patch, 675 bytes (added by rmottola (Riccardo), 6 years ago) |
---|
-
libgimpwidgets/gimppickbutton-quartz.c
old new 34 34 #include <ApplicationServices/ApplicationServices.h> 35 35 #endif 36 36 37 #ifndef AVAILABLE_MAC_OS_X_VERSION_10_7_AND_LATER 38 @interface NSWindow (GIMPExt) 39 - (NSRect) convertRectToScreen: (NSRect)aRect; 40 @end 41 @implementation NSWindow (GIMPExt) 42 - (NSRect) convertRectToScreen: (NSRect)aRect 43 { 44 NSRect result = aRect; 45 NSPoint origin = result.origin; 46 result.origin = [self convertBaseToScreen:origin]; 47 return result; 48 } 49 @end 50 51 #endif 52 37 53 38 54 @interface GimpPickWindowController : NSObject 39 55 {