diff --git a/src/Makefile.am b/src/Makefile.am index 761b9ebdb..6e7f38590 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -104,7 +104,7 @@ endif if CAIRO_HAS_GLITZ_SURFACE libcairo_glitz_headers = cairo-glitz.h -libcairo_glitz_sources = cairo-glitz-surface.c +libcairo_glitz_sources = cairo-glitz-surface.c cairo-glitz-private.h backend_pkgconfigs += cairo-glitz.pc endif diff --git a/src/cairo-glitz-private.h b/src/cairo-glitz-private.h new file mode 100644 index 000000000..8a876eeab --- /dev/null +++ b/src/cairo-glitz-private.h @@ -0,0 +1,41 @@ +/* Cairo - a vector graphics library with display and print output + * + * Copyright © 2005 Red Hat, Inc. + * + * This library is free software; you can redistribute it and/or + * modify it either under the terms of the GNU Lesser General Public + * License version 2.1 as published by the Free Software Foundation + * (the "LGPL") or, at your option, under the terms of the Mozilla + * Public License Version 1.1 (the "MPL"). If you do not alter this + * notice, a recipient may use your version of this file under either + * the MPL or the LGPL. + * + * You should have received a copy of the LGPL along with this library + * in the file COPYING-LGPL-2.1; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * You should have received a copy of the MPL along with this library + * in the file COPYING-MPL-1.1 + * + * The contents of this file are subject to the Mozilla Public License + * Version 1.1 (the "License"); you may not use this file except in + * compliance with the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY + * OF ANY KIND, either express or implied. See the LGPL or the MPL for + * the specific language governing rights and limitations. + * + * The Original Code is the cairo graphics library. + * + * The Initial Developer of the Original Code is Red Hat, Inc. + */ + +#ifndef CAIRO_GLITZ_PRIVATE_H +#define CAIRO_GLITZ_PRIVATE_H + +#include "cairoint.h" +#include "cairo-glitz.h" + +slim_hidden_proto (cairo_glitz_surface_create); + +#endif /* CAIRO_GLITZ_PRIVATE_H */ diff --git a/src/cairo-glitz-surface.c b/src/cairo-glitz-surface.c index c7d6aa35b..35366198c 100644 --- a/src/cairo-glitz-surface.c +++ b/src/cairo-glitz-surface.c @@ -26,6 +26,7 @@ #include "cairoint.h" #include "cairo-glitz.h" +#include "cairo-glitz-private.h" typedef struct _cairo_glitz_surface { cairo_surface_t base; @@ -2196,3 +2197,4 @@ cairo_glitz_surface_create (glitz_surface_t *surface) return (cairo_surface_t *) crsurface; } +slim_hidden_def (cairo_glitz_surface_create);