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
This commit is contained in:
Manolo Gouy 2016-05-05 06:53:59 +00:00
parent e6b4af2c47
commit aec24973be

View File

@ -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