From 89a2b1a7a839206206539f4349e428d8ff2e10fa Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Wed, 3 May 2023 14:17:10 +0200 Subject: Fl_Wayland_Screen_Driver::get_system_scheme() is not needed --- src/drivers/Wayland/Fl_Wayland_Screen_Driver.H | 1 - src/drivers/Wayland/Fl_Wayland_Screen_Driver.cxx | 6 ------ 2 files changed, 7 deletions(-) diff --git a/src/drivers/Wayland/Fl_Wayland_Screen_Driver.H b/src/drivers/Wayland/Fl_Wayland_Screen_Driver.H index c20477dba..0be756852 100644 --- a/src/drivers/Wayland/Fl_Wayland_Screen_Driver.H +++ b/src/drivers/Wayland/Fl_Wayland_Screen_Driver.H @@ -142,7 +142,6 @@ public: void grab(Fl_Window* win) FL_OVERRIDE; // --- global colors void get_system_colors() FL_OVERRIDE; - const char *get_system_scheme() FL_OVERRIDE; // this one is in fl_wayland_clipboard_dnd.cxx int dnd(int unused) FL_OVERRIDE; int compose(int &del) FL_OVERRIDE; diff --git a/src/drivers/Wayland/Fl_Wayland_Screen_Driver.cxx b/src/drivers/Wayland/Fl_Wayland_Screen_Driver.cxx index 3c08492a8..a95cce8fe 100644 --- a/src/drivers/Wayland/Fl_Wayland_Screen_Driver.cxx +++ b/src/drivers/Wayland/Fl_Wayland_Screen_Driver.cxx @@ -1470,12 +1470,6 @@ void Fl_Wayland_Screen_Driver::get_system_colors() } -const char *Fl_Wayland_Screen_Driver::get_system_scheme() -{ - return getenv("FLTK_SCHEME"); -} - - Fl_RGB_Image *Fl_Wayland_Screen_Driver::read_win_rectangle(int X, int Y, int w, int h, Fl_Window *win, bool ignore, bool *p_ignore) { struct wld_window* xid = win ? fl_wl_xid(win) : NULL; -- cgit v1.2.3