[cairo-commit] src/cairo-surface.c

Behdad Esfahbod behdad at kemper.freedesktop.org
Mon Jul 10 07:26:26 PDT 2006


 src/cairo-surface.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

New commits:
diff-tree defa23206cfa83ad4460a868f78289ba7f7c1c53 (from a1143d120fbc142fc6ae15f394cfbe400a4a0b3e)
Author: Behdad Esfahbod <behdad at behdad.org>
Date:   Mon Jul 10 10:26:19 2006 -0400

    Fix nil surface initializations for surface type. (#7322)

diff --git a/src/cairo-surface.c b/src/cairo-surface.c
index 66f7a46..e01c2c9 100644
--- a/src/cairo-surface.c
+++ b/src/cairo-surface.c
@@ -43,8 +43,8 @@
 
 const cairo_surface_t _cairo_surface_nil = {
     &cairo_image_surface_backend,	/* backend */
-    CAIRO_CONTENT_COLOR,
     CAIRO_SURFACE_TYPE_IMAGE,
+    CAIRO_CONTENT_COLOR,
     -1,					/* ref_count */
     CAIRO_STATUS_NO_MEMORY,		/* status */
     FALSE,				/* finished */
@@ -69,8 +69,8 @@ const cairo_surface_t _cairo_surface_nil
 
 const cairo_surface_t _cairo_surface_nil_file_not_found = {
     &cairo_image_surface_backend,	/* backend */
-    CAIRO_CONTENT_COLOR,
     CAIRO_SURFACE_TYPE_IMAGE,
+    CAIRO_CONTENT_COLOR,
     -1,					/* ref_count */
     CAIRO_STATUS_FILE_NOT_FOUND,	/* status */
     FALSE,				/* finished */
@@ -95,8 +95,8 @@ const cairo_surface_t _cairo_surface_nil
 
 const cairo_surface_t _cairo_surface_nil_read_error = {
     &cairo_image_surface_backend,	/* backend */
-    CAIRO_CONTENT_COLOR,
     CAIRO_SURFACE_TYPE_IMAGE,
+    CAIRO_CONTENT_COLOR,
     -1,					/* ref_count */
     CAIRO_STATUS_READ_ERROR,		/* status */
     FALSE,				/* finished */


More information about the cairo-commit mailing list