Skip to content

Commit

Permalink
static function get_image_from_clipboard(Fl_Widget *) really returns …
Browse files Browse the repository at this point in the history
…Fl_RGB_Image* type

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11711 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
  • Loading branch information
Manolo Gouy authored and Manolo Gouy committed May 5, 2016
1 parent e6b4af2 commit aec2497
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Fl_cocoa.mm
Expand Up @@ -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
Expand Down

0 comments on commit aec2497

Please sign in to comment.