[cairo] [PATCH] script: Add missing include

Andrea Canciani ranma42 at gmail.com
Mon Jul 18 23:38:37 PDT 2011


On Mon, Jul 18, 2011 at 8:03 PM, James Cloos <cloos at jhcloos.com> wrote:
> cairo-script-surface.c needs to include cairo-default-context-private.h
> to use  _cairo_default_context_create().
>
> Signed-off-by: James Cloos <cloos at jhcloos.com>

Sorry, I didn't see your patch until right now and I committed this fix in
http://cgit.freedesktop.org/cairo/commit/?id=29d19c683b99b6bc3f59e771c273a32721995887

Andrea

> ---
>  src/cairo-script-surface.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/src/cairo-script-surface.c b/src/cairo-script-surface.c
> index 6b59464..8432c13 100644
> --- a/src/cairo-script-surface.c
> +++ b/src/cairo-script-surface.c
> @@ -48,6 +48,7 @@
>
>  #include "cairo-analysis-surface-private.h"
>  #include "cairo-device-private.h"
> +#include "cairo-default-context-private.h"
>  #include "cairo-error-private.h"
>  #include "cairo-list-private.h"
>  #include "cairo-recording-surface-private.h"
> --
> 1.7.6
>
> --
> cairo mailing list
> cairo at cairographics.org
> http://lists.cairographics.org/mailman/listinfo/cairo
>


More information about the cairo mailing list