[cairo-commit] 2 commits - boilerplate/.gitignore boilerplate/cairo-boilerplate.c test/.gitignore

Jamey Sharp jamey at kemper.freedesktop.org
Thu Oct 12 23:49:48 PDT 2006


 boilerplate/.gitignore          |    1 +
 boilerplate/cairo-boilerplate.c |    2 +-
 test/.gitignore                 |    4 ++++
 3 files changed, 6 insertions(+), 1 deletion(-)

New commits:
diff-tree f7068de7f78890df9fbadba8b15d1c3b58166c2d (from 2d30e58ccd14ae707afcc311f49e32fe6d6d4061)
Author: Jamey Sharp <jamey at minilop.net>
Date:   Thu Oct 12 23:43:45 2006 -0700

    Update .gitignore in boilerplate and test.

diff --git a/boilerplate/.gitignore b/boilerplate/.gitignore
index fb15c30..673be9e 100644
--- a/boilerplate/.gitignore
+++ b/boilerplate/.gitignore
@@ -2,6 +2,7 @@
 *.la
 *.exe
 *.manifest
+*.o
 *.obj
 *.ilk
 *.suo
diff --git a/test/.gitignore b/test/.gitignore
index 83cf3c8..e2065a3 100644
--- a/test/.gitignore
+++ b/test/.gitignore
@@ -14,6 +14,7 @@ clip-fill-rule
 clip-fill-rule-pixel-aligned
 clip-nesting
 clip-operator
+copy-path
 clip-twice
 close-path
 composite-integer-translate-source
@@ -51,7 +52,9 @@ ft-text-vertical-layout-type3
 font-face-get-type
 font-matrix-translation
 get-and-set
+get-clip
 get-group-target
+get-path-extents
 glyph-cache-pressure
 gradient-alpha
 imagediff
@@ -77,6 +80,7 @@ paint-source-alpha
 paint-with-alpha
 path-data
 pattern-get-type
+pattern-getters
 pdf2png
 pdf2svg
 pdf-features
diff-tree 2d30e58ccd14ae707afcc311f49e32fe6d6d4061 (from 02e7b892bcb75a69eb28902e7f67e2e7778bfe7b)
Author: Jamey Sharp <jamey at minilop.net>
Date:   Thu Oct 12 23:42:50 2006 -0700

    XCB: update cairo-boilerplate to test for an error connection rather than NULL.

diff --git a/boilerplate/cairo-boilerplate.c b/boilerplate/cairo-boilerplate.c
index a259929..1af6e89 100644
--- a/boilerplate/cairo-boilerplate.c
+++ b/boilerplate/cairo-boilerplate.c
@@ -810,7 +810,7 @@ create_xcb_surface (const char			 *name,
 	height = 1;
 
     xtc->c = c = xcb_connect(NULL,NULL);
-    if (c == NULL) {
+    if (xcb_connection_has_error(c)) {
 	CAIRO_BOILERPLATE_LOG ("Failed to connect to X server through XCB\n");
 	return NULL;
     }


More information about the cairo-commit mailing list