summaryrefslogtreecommitdiff
path: root/test/xlib-surface.c
diff options
context:
space:
mode:
authorCarl Worth <cworth@cworth.org>2005-08-01 13:33:47 +0000
committerCarl Worth <cworth@cworth.org>2005-08-01 13:33:47 +0000
commitc525c684ca712c5c5acd5431ec061bfab364cef5 (patch)
tree1058f354f0d420bb8e66e2604776806e9bbcd198 /test/xlib-surface.c
parent480951827e567db89f88e71e7ba20f4fa4633c1b (diff)
downloadcairo-c525c684ca712c5c5acd5431ec061bfab364cef5.tar.gz
New public header file.
New function to reset all static data (eg. caches) to their initial state. Fix check-valgrind target to depend on the 'all' target. Add check for a new, proposed, XrmFinalize function. Add cairo-debug.c. Move the definition of CAIRO_BEGIN_DECLS to cairo-features.h so that it can be shared between public header files, and so that it doesn't clutter cairo.h Implement reset_static_data in all modules as required. Call cairo_debug_reset_static_data and FcFini so that we can have all tests be valgrind-clean with respect to memory leaks and still-reachable data.
Diffstat (limited to 'test/xlib-surface.c')
-rw-r--r--test/xlib-surface.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/xlib-surface.c b/test/xlib-surface.c
index 2921eb852..805ce18fe 100644
--- a/test/xlib-surface.c
+++ b/test/xlib-surface.c
@@ -267,6 +267,8 @@ main (void)
XCloseDisplay (dpy);
+ cairo_debug_reset_static_data ();
+
fclose (log_file);
return result;