mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2025-12-24 07:50:09 +01:00
Make distcheck happy.
This commit is contained in:
parent
d56b171802
commit
459b8ae660
5 changed files with 10 additions and 3 deletions
|
|
@ -42,6 +42,8 @@
|
|||
#ifndef _CAIRO_FONTCONFIG_PRIVATE_H
|
||||
#define _CAIRO_FONTCONFIG_PRIVATE_H
|
||||
|
||||
#include "cairo.h"
|
||||
|
||||
#if CAIRO_HAS_FC_FONT
|
||||
#include <fontconfig/fontconfig.h>
|
||||
#include <fontconfig/fcfreetype.h>
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@
|
|||
|
||||
#include "cairo.h"
|
||||
|
||||
#ifdef CAIRO_HAS_SKIA_SURFACE
|
||||
#if CAIRO_HAS_SKIA_SURFACE
|
||||
|
||||
CAIRO_BEGIN_DECLS
|
||||
|
||||
|
|
|
|||
|
|
@ -29,6 +29,8 @@
|
|||
** THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
//#include "cairo.h" /* keep distcheck happy */
|
||||
|
||||
/*
|
||||
* Mesa 3-D graphics library
|
||||
* Version: 7.0
|
||||
|
|
|
|||
|
|
@ -29,6 +29,8 @@
|
|||
** THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
//#include "cairo.h" /* keep distcheck happy */
|
||||
|
||||
/*
|
||||
* Mesa 3-D graphics library
|
||||
* Version: 7.0
|
||||
|
|
|
|||
|
|
@ -206,7 +206,8 @@ test_cairo_surface_set_mime_data (cairo_surface_t *surface)
|
|||
|
||||
status = cairo_surface_set_mime_data (surface,
|
||||
mimetype,
|
||||
(const unsigned char *) data, strlen (data),
|
||||
(const unsigned char *) data,
|
||||
strlen (data),
|
||||
NULL, NULL);
|
||||
return status ? CAIRO_TEST_SUCCESS : CAIRO_TEST_ERROR;
|
||||
}
|
||||
|
|
@ -216,7 +217,7 @@ test_cairo_surface_get_mime_data (cairo_surface_t *surface)
|
|||
{
|
||||
const char *mimetype = "text/x-uri";
|
||||
const unsigned char *data;
|
||||
unsigned int length;
|
||||
unsigned long length;
|
||||
|
||||
cairo_surface_get_mime_data (surface, mimetype, &data, &length);
|
||||
return data == NULL && length == 0 ? CAIRO_TEST_SUCCESS : CAIRO_TEST_ERROR;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue