From 6e4ed88f40d5ff5d5faf19d51f6d60e061ccba57 Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Thu, 15 Mar 2018 15:34:37 +0000 Subject: Remove unused #include files and FL_CFG_* conditional code. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12751 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/drivers/GDI/Fl_GDI_Image_Surface_Driver.cxx | 5 ----- src/drivers/Xlib/Fl_Xlib_Image_Surface_Driver.cxx | 10 +--------- 2 files changed, 1 insertion(+), 14 deletions(-) (limited to 'src') diff --git a/src/drivers/GDI/Fl_GDI_Image_Surface_Driver.cxx b/src/drivers/GDI/Fl_GDI_Image_Surface_Driver.cxx index 453a5f600..ae3725721 100644 --- a/src/drivers/GDI/Fl_GDI_Image_Surface_Driver.cxx +++ b/src/drivers/GDI/Fl_GDI_Image_Surface_Driver.cxx @@ -17,13 +17,9 @@ // -#include "../../config_lib.h" - -#ifdef FL_CFG_GFX_GDI #include "Fl_GDI_Graphics_Driver.H" #include "../WinAPI/Fl_WinAPI_Screen_Driver.H" #include -#include #include #include @@ -106,7 +102,6 @@ void Fl_GDI_Image_Surface_Driver::end_current_(Fl_Surface_Device*) fl_window = pre_window; } -#endif // FL_CFG_GFX_GDI // // End of "$Id$". diff --git a/src/drivers/Xlib/Fl_Xlib_Image_Surface_Driver.cxx b/src/drivers/Xlib/Fl_Xlib_Image_Surface_Driver.cxx index c5bcce9af..0dfc255cb 100644 --- a/src/drivers/Xlib/Fl_Xlib_Image_Surface_Driver.cxx +++ b/src/drivers/Xlib/Fl_Xlib_Image_Surface_Driver.cxx @@ -3,7 +3,7 @@ // // Draw-to-image code for the Fast Light Tool Kit (FLTK). // -// Copyright 1998-2017 by Bill Spitzak and others. +// Copyright 1998-2018 by Bill Spitzak and others. // // This library is free software. Distribution and use rights are outlined in // the file "COPYING" which should have been included with this file. If this @@ -16,14 +16,8 @@ // http://www.fltk.org/str.php // -#include - -#include "../../config_lib.h" - -#ifdef FL_CFG_GFX_XLIB #include "Fl_Xlib_Graphics_Driver.H" #include -#include "Fl_Xlib_Graphics_Driver.H" #include class Fl_Xlib_Image_Surface_Driver : public Fl_Image_Surface_Driver { @@ -89,8 +83,6 @@ void Fl_Xlib_Image_Surface_Driver::end_current_(Fl_Surface_Device *next_current) fl_window = pre_window; } -#endif // FL_CFG_GFX_XLIB - // // End of "$Id$". // -- cgit v1.2.3