[cairo-commit] cairo-demo/X11 ChangeLog, 1.10, 1.11 cairo-demo.c,
1.10, 1.11 cairo-spline.c, 1.10, 1.11
Oeyvind Kolaas
commit at pdx.freedesktop.org
Mon Feb 7 05:38:21 PST 2005
Committed by: pippin
Update of /cvs/cairo/cairo-demo/X11
In directory gabe:/tmp/cvs-serv15988
Modified Files:
ChangeLog cairo-demo.c cairo-spline.c
Log Message:
initializing data to silence valgrind
Index: ChangeLog
===================================================================
RCS file: /cvs/cairo/cairo-demo/X11/ChangeLog,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- ChangeLog 20 Jan 2005 16:32:30 -0000 1.10
+++ ChangeLog 7 Feb 2005 13:38:19 -0000 1.11
@@ -1,3 +1,8 @@
+2005-02-07 Ãyvind KolÃ¥s <oeyvindk at hig.no>
+
+ * cairo-spline.c (win_init): initialize the stored mouse coordinates,
+ to silence valgrind.
+
2005-01-20 Carl Worth <cworth at cworth.org>
* cairo-spline.c:
@@ -14,7 +19,7 @@
* Makefile (PROGS): Remove various non-checked-in test
programs that crept in.
-2004-05-11 Ãyvind KolÃ¥s <oeyvindk at hig.no>
+2004-05-11 Ãyvind KolÃ¥s <oeyvindk at hig.no>
* *.[ch] : replace ct with cr
Index: cairo-demo.c
===================================================================
RCS file: /cvs/cairo/cairo-demo/X11/cairo-demo.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- cairo-demo.c 20 Jan 2005 16:32:30 -0000 1.10
+++ cairo-demo.c 7 Feb 2005 13:38:19 -0000 1.11
@@ -3,7 +3,7 @@
#include <math.h>
#include <cairo.h>
-#include <cairo-xcb.h>
+//#include <cairo-xcb.h>
#include <cairo-xlib.h>
#ifdef CAIRO_HAS_XCB_SURFACE
Index: cairo-spline.c
===================================================================
RCS file: /cvs/cairo/cairo-demo/X11/cairo-spline.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- cairo-spline.c 20 Jan 2005 16:32:30 -0000 1.10
+++ cairo-spline.c 7 Feb 2005 13:38:19 -0000 1.11
@@ -306,6 +306,8 @@
win->ytrans = DEFAULT_YTRANS;
win->click = 0;
+ win->drag_pt.x = 0.0;
+ win->drag_pt.y = 0.0;
win_refresh(win);
win->needs_refresh = 0;
More information about the cairo-commit
mailing list