mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-01-01 08:20:14 +01:00
[slim] hide cairo_glitz_surface_create() (#8551)
This commit is contained in:
parent
a13d58ff3a
commit
f6a2811c87
3 changed files with 44 additions and 1 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
41
src/cairo-glitz-private.h
Normal file
41
src/cairo-glitz-private.h
Normal file
|
|
@ -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 */
|
||||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue