diff options
| author | Manolo Gouy <Manolo> | 2018-05-06 15:03:04 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2018-05-06 15:03:04 +0000 |
| commit | 41eb37606010baa8568ee3698669973f2d05e224 (patch) | |
| tree | 21157b6a1b69cfed6684ffe1ed921578bb462af9 /src/Fl_Image_Surface.cxx | |
| parent | ccae86b291cb25076238d419c0dc75bf9d35cb68 (diff) | |
Make member function Fl_Image_Surface::get_offscreen_before_delete() be private.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12904 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_Image_Surface.cxx')
| -rw-r--r-- | src/Fl_Image_Surface.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/Fl_Image_Surface.cxx b/src/Fl_Image_Surface.cxx index 95cecf68a..7ac6ab944 100644 --- a/src/Fl_Image_Surface.cxx +++ b/src/Fl_Image_Surface.cxx @@ -111,10 +111,8 @@ Fl_Shared_Image* Fl_Image_Surface::highres_image() return s_img; } -/** Allows to delete the Fl_Image_Surface object while keeping its underlying Fl_Offscreen. - This member function is intended for internal use by the FLTK library. - */ -Fl_Offscreen Fl_Image_Surface::get_offscreen_before_delete() { +// Allows to delete the Fl_Image_Surface object while keeping its underlying Fl_Offscreen +Fl_Offscreen Fl_Image_Surface::get_offscreen_before_delete_() { Fl_Offscreen keep = platform_surface->offscreen; platform_surface->offscreen = 0; return keep; |
