From 4f0a16697eeb62bfa0b5dda13b209e63b03832f7 Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Wed, 10 Apr 2019 13:21:23 +0200 Subject: [PATCH] Remove useless member functions Fl_XXX_Copy_Surface_Driver::w() and h() --- src/drivers/GDI/Fl_GDI_Copy_Surface_Driver.cxx | 2 -- src/drivers/Quartz/Fl_Quartz_Copy_Surface_Driver.H | 2 -- src/drivers/Xlib/Fl_Xlib_Copy_Surface_Driver.cxx | 2 -- 3 files changed, 6 deletions(-) diff --git a/src/drivers/GDI/Fl_GDI_Copy_Surface_Driver.cxx b/src/drivers/GDI/Fl_GDI_Copy_Surface_Driver.cxx index 053c90ff0..5041cc7e4 100644 --- a/src/drivers/GDI/Fl_GDI_Copy_Surface_Driver.cxx +++ b/src/drivers/GDI/Fl_GDI_Copy_Surface_Driver.cxx @@ -35,8 +35,6 @@ protected: void set_current(); void translate(int x, int y); void untranslate(); - int w() {return width;} - int h() {return height;} }; diff --git a/src/drivers/Quartz/Fl_Quartz_Copy_Surface_Driver.H b/src/drivers/Quartz/Fl_Quartz_Copy_Surface_Driver.H index aacf6b749..37751419b 100644 --- a/src/drivers/Quartz/Fl_Quartz_Copy_Surface_Driver.H +++ b/src/drivers/Quartz/Fl_Quartz_Copy_Surface_Driver.H @@ -37,8 +37,6 @@ protected: void set_current(); void translate(int x, int y); void untranslate(); - int w() {return width;} - int h() {return height;} }; #endif /* Fl_Quartz_Copy_Surface_Driver_H */ diff --git a/src/drivers/Xlib/Fl_Xlib_Copy_Surface_Driver.cxx b/src/drivers/Xlib/Fl_Xlib_Copy_Surface_Driver.cxx index 152318d37..532714980 100644 --- a/src/drivers/Xlib/Fl_Xlib_Copy_Surface_Driver.cxx +++ b/src/drivers/Xlib/Fl_Xlib_Copy_Surface_Driver.cxx @@ -37,8 +37,6 @@ protected: void set_current(); void translate(int x, int y); void untranslate(); - int w() {return width;} - int h() {return height;} };