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:
parent
e6b4af2c47
commit
aec24973be
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user