Make distcheck happy.

This commit is contained in:
Chris Wilson 2010-07-12 11:05:57 +01:00
parent d56b171802
commit 459b8ae660
5 changed files with 10 additions and 3 deletions

View file

@ -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>

View file

@ -39,7 +39,7 @@
#include "cairo.h"
#ifdef CAIRO_HAS_SKIA_SURFACE
#if CAIRO_HAS_SKIA_SURFACE
CAIRO_BEGIN_DECLS

View file

@ -29,6 +29,8 @@
** THE POSSIBILITY OF SUCH DAMAGE.
*/
//#include "cairo.h" /* keep distcheck happy */
/*
* Mesa 3-D graphics library
* Version: 7.0

View file

@ -29,6 +29,8 @@
** THE POSSIBILITY OF SUCH DAMAGE.
*/
//#include "cairo.h" /* keep distcheck happy */
/*
* Mesa 3-D graphics library
* Version: 7.0

View file

@ -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;