]> git.lyx.org Git - lyx.git/commitdiff
Remove 1 more dependency.
authorAngus Leeming <leeming@lyx.org>
Fri, 27 Sep 2002 08:35:55 +0000 (08:35 +0000)
committerAngus Leeming <leeming@lyx.org>
Fri, 27 Sep 2002 08:35:55 +0000 (08:35 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5349 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/xforms/ChangeLog
src/frontends/xforms/xscreen.h

index ef8f7278cb2cdb52790437a9c4b64de8b5240cf1..9b9968ce002ffc930dcdbb0551b01a50d4041c9d 100644 (file)
@@ -1,3 +1,7 @@
+2002-09-26  Angus Leeming  <leeming@lyx.org>
+
+       * xscreen.h: don't #include "XWorkArea.h", forward-declare XWorkArea.
+
 2002-09-25  Angus Leeming  <leeming@lyx.org>
 
        * Dialogs2.C:
index a927df6c99af5162bc1665a938657695e6a2f928..1b335546543b2a5df2b2ab96e1f6bc91a7e3acce 100644 (file)
 #pragma interface
 #endif
 
-#include <X11/Xlib.h>
-
 #include "screen.h"
+#include <X11/Xlib.h> // for Pixmap, GC
 
-#include "XWorkArea.h"
+class XWorkArea;
 
 /** The class XScreen is used for the main Textbody.
     Concretely, the screen is held in a pixmap.  This pixmap is kept up to