diff options
| author | Manolo Gouy <Manolo> | 2017-09-23 07:33:40 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2017-09-23 07:33:40 +0000 |
| commit | 615cea792f6ef91ac4cf7605b091b6928a9e9dee (patch) | |
| tree | e1b0d840875531e4fe9a465dc7d3cc4938010c66 /cairo | |
| parent | 5cff9760e5de9ad2a5d4a770ed21ad764d9fb42f (diff) | |
Remove obsolete include directive.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12465 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'cairo')
| -rw-r--r-- | cairo/Fl_Cairo.cxx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/cairo/Fl_Cairo.cxx b/cairo/Fl_Cairo.cxx index a762c67d9..6bf509b86 100644 --- a/cairo/Fl_Cairo.cxx +++ b/cairo/Fl_Cairo.cxx @@ -22,9 +22,6 @@ #include <FL/Fl.H> #include <FL/x.H> #include <FL/Fl_Window.H> -#ifdef __APPLE__ -#include <Carbon/Carbon.h> -#endif // Cairo is currently supported for the following platforms: // Win32, Apple Quartz, X11 @@ -131,7 +128,7 @@ cairo_t * Fl::cairo_make_current(void *gc) { H = Fl_Window::current()->h(); } else { - W = CGBitmapContextGetHeight(fl_gc); + W = CGBitmapContextGetWidth(fl_gc); H = CGBitmapContextGetHeight(fl_gc); } #elif defined(WIN32) |
