Skip to content

Commit

Permalink
Remove Fl_Printer::driver() that is already implemented in a parent c…
Browse files Browse the repository at this point in the history
…lass.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11236 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
  • Loading branch information
Manolo Gouy authored and Manolo Gouy committed Feb 26, 2016
1 parent 169e422 commit 81bd759
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
1 change: 0 additions & 1 deletion FL/Fl_Printer.H
Expand Up @@ -202,7 +202,6 @@ public:
void print_window_part(Fl_Window *win, int x, int y, int w, int h, int delta_x=0, int delta_y=0);
void draw_decorated_window(Fl_Window *win, int x_offset, int y_offset);
void set_current(void);
Fl_Graphics_Driver* driver(void);

/** \name These attributes are effective under the Xlib platform only.
\{
Expand Down
6 changes: 0 additions & 6 deletions src/Fl_Printer.cxx
Expand Up @@ -39,7 +39,6 @@ void Fl_Printer::end_job (void) {}
void Fl_Printer::print_widget(Fl_Widget* widget, int delta_x, int delta_y) {}
void Fl_Printer::print_window_part(Fl_Window *win, int x, int y, int w, int h, int delta_x, int delta_y) {}
void Fl_Printer::set_current(void) {}
Fl_Graphics_Driver* driver(void) {return NULL;}
Fl_Printer::~Fl_Printer(void) {}

const char *Fl_Printer::dialog_title = NULL;
Expand Down Expand Up @@ -228,11 +227,6 @@ void Fl_Printer::set_current(void)
printer->set_current();
}

Fl_Graphics_Driver* Fl_Printer::driver(void)
{
return printer->driver();
}

Fl_Printer::~Fl_Printer(void)
{
delete printer;
Expand Down

0 comments on commit 81bd759

Please sign in to comment.