]> gitweb @ CieloNegro.org - pkgsrc-firefox3.git/blob - patches/patch-aj
More patches
[pkgsrc-firefox3.git] / patches / patch-aj
1 $NetBSD$
2
3 --- gfx/thebes/src/gfxASurface.cpp.orig 2009-02-04 01:54:07.000000000 +0900
4 +++ gfx/thebes/src/gfxASurface.cpp
5 @@ -50,11 +50,6 @@
6  #include "gfxXlibSurface.h"
7  #endif
8  
9 -#ifdef CAIRO_HAS_QUARTZ_SURFACE
10 -#include "gfxQuartzSurface.h"
11 -#include "gfxQuartzImageSurface.h"
12 -#endif
13 -
14  #include <stdio.h>
15  #include <limits.h>
16  
17 @@ -155,14 +150,6 @@ gfxASurface::Wrap (cairo_surface_t *csur
18          result = new gfxXlibSurface(csurf);
19      }
20  #endif
21 -#ifdef CAIRO_HAS_QUARTZ_SURFACE
22 -    else if (stype == CAIRO_SURFACE_TYPE_QUARTZ) {
23 -        result = new gfxQuartzSurface(csurf);
24 -    }
25 -    else if (stype == CAIRO_SURFACE_TYPE_QUARTZ_IMAGE) {
26 -        result = new gfxQuartzImageSurface(csurf);
27 -    }
28 -#endif
29      else {
30          result = new gfxUnknownSurface(csurf);
31      }