diff options
| author | Manolo Gouy <Manolo> | 2016-05-05 06:53:59 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2016-05-05 06:53:59 +0000 |
| commit | aec24973befcb6c81cd3438d2127ec2ca6eb2fa6 (patch) | |
| tree | 39915dba9f114ff79cf6ee545ecf75d894101edb | |
| parent | e6b4af2c476cb32f71a2daf49032af0b575e6f41 (diff) | |
static function get_image_from_clipboard(Fl_Widget *) really returns Fl_RGB_Image* type
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11711 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
| -rw-r--r-- | src/Fl_cocoa.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_cocoa.mm b/src/Fl_cocoa.mm index 54c78c24a..46deae720 100644 --- a/src/Fl_cocoa.mm +++ b/src/Fl_cocoa.mm @@ -3420,7 +3420,7 @@ static int get_plain_text_from_clipboard(int clipboard) return length; } -static Fl_Image* get_image_from_clipboard(Fl_Widget *receiver) +static Fl_RGB_Image* get_image_from_clipboard(Fl_Widget *receiver) { NSPasteboard *clip = [NSPasteboard generalPasteboard]; NSArray *present = [clip types]; // types in pasteboard in order of decreasing preference |
