[cairo-commit] 2 commits - src/cairo-glitz-private.h
src/cairo-glitz-surface.c src/cairoint.h src/cairo-pattern.c
src/Makefile.am
Behdad Esfahbod
behdad at kemper.freedesktop.org
Sun Oct 8 14:07:16 PDT 2006
src/Makefile.am | 2 +-
src/cairo-glitz-private.h | 41 +++++++++++++++++++++++++++++++++++++++++
src/cairo-glitz-surface.c | 2 ++
src/cairo-pattern.c | 1 +
src/cairoint.h | 1 +
5 files changed, 46 insertions(+), 1 deletion(-)
New commits:
diff-tree f6a2811c87def7b1bc70a2014d93df8feab2e2f4 (from a13d58ff3af5ed85313b5af651c1d69f5e38fa06)
Author: Behdad Esfahbod <behdad at behdad.org>
Date: Sun Oct 8 17:07:17 2006 -0400
[slim] hide cairo_glitz_surface_create() (#8551)
diff --git a/src/Makefile.am b/src/Makefile.am
index 761b9eb..6e7f385 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 0000000..8a876ee
--- /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 c7d6aa3..3536619 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_surfac
return (cairo_surface_t *) crsurface;
}
+slim_hidden_def (cairo_glitz_surface_create);
diff-tree a13d58ff3af5ed85313b5af651c1d69f5e38fa06 (from d7c2f7e2d74c7e383f6933b974066221bcc5faa5)
Author: Behdad Esfahbod <behdad at behdad.org>
Date: Sun Oct 8 17:06:44 2006 -0400
[slim] hide cairo_pattern_status() #8551
diff --git a/src/cairo-pattern.c b/src/cairo-pattern.c
index 8b9201a..5f1dd8a 100644
--- a/src/cairo-pattern.c
+++ b/src/cairo-pattern.c
@@ -542,6 +542,7 @@ cairo_pattern_status (cairo_pattern_t *p
{
return pattern->status;
}
+slim_hidden_def (cairo_pattern_status);
/**
* cairo_pattern_destroy:
diff --git a/src/cairoint.h b/src/cairoint.h
index 6a3bc31..3832ea7 100755
--- a/src/cairoint.h
+++ b/src/cairoint.h
@@ -2393,6 +2393,7 @@ slim_hidden_proto (cairo_pattern_get_ext
slim_hidden_proto (cairo_pattern_get_type);
slim_hidden_proto (cairo_pattern_reference);
slim_hidden_proto (cairo_pattern_set_matrix);
+slim_hidden_proto (cairo_pattern_status);
slim_hidden_proto (cairo_pop_group);
slim_hidden_proto (cairo_pop_group_to_source);
slim_hidden_proto (cairo_push_group);
More information about the cairo-commit
mailing list