summaryrefslogtreecommitdiff
path: root/src/Fl_cocoa.mm
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2018-05-09 14:16:35 +0000
committerManolo Gouy <Manolo>2018-05-09 14:16:35 +0000
commit2b7aac129b05638ffd21be5c037192e797d6d074 (patch)
treedd00e6cb7d95bbc0d5c78cb05cd0ec13fc819bce /src/Fl_cocoa.mm
parent80818999345212384326ec833d090988c633eb49 (diff)
Rename Fl_Paged_Device::start_job() to begin_job() and Fl_Paged_Device::start_page() to begin_page().
The new function names begin_job() and begin_page() better match end_job() and end_page() with which they must be used by pair. The old names start_job() and start_page() are maintained for API compatibility with FLTK 1.3.x git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12910 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_cocoa.mm')
-rw-r--r--src/Fl_cocoa.mm4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Fl_cocoa.mm b/src/Fl_cocoa.mm
index cb9945eb0..6309d1d27 100644
--- a/src/Fl_cocoa.mm
+++ b/src/Fl_cocoa.mm
@@ -3809,8 +3809,8 @@ int Fl_Cocoa_Window_Driver::set_cursor(const Fl_RGB_Image *image, int hotx, int
Fl_Window *win = Fl::first_window();
if(!win) return;
if (win->parent()) win = win->top_window();
- if( printer.start_job(1) ) return;
- if( printer.start_page() ) return;
+ if( printer.begin_job(1) ) return;
+ if( printer.begin_page() ) return;
fl_lock_function();
// scale the printer device so that the window fits on the page
float scale = 1;