[cairo-commit] xsvg/src xsvg.c,1.24,1.25

Carl Worth commit at pdx.freedesktop.org
Thu Jan 20 08:40:25 PST 2005


Committed by: cworth

Update of /cvs/cairo/xsvg/src
In directory gabe:/tmp/cvs-serv18586/src

Modified Files:
	xsvg.c 
Log Message:

        * src/xsvg.c: Track split-up of cairo.h.

        * configure.in: Add lots of warning flags when compiling with gcc.


Index: xsvg.c
===================================================================
RCS file: /cvs/cairo/xsvg/src/xsvg.c,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -d -r1.24 -r1.25
--- xsvg.c	23 Jul 2004 16:24:14 -0000	1.24
+++ xsvg.c	20 Jan 2005 16:40:23 -0000	1.25
@@ -33,6 +33,9 @@
 #include <time.h>
 #include <png.h>
 
+#include <cairo.h>
+#include <cairo-xlib.h>
+
 #include <svg-cairo.h>
 
 #include "args.h"
@@ -422,7 +425,7 @@
     hints->flags = PSize | PWinGravity;
     mask = CWWidth | CWHeight;
     if (win->full_mode) {
-	Atom		    atom[1];
+/*	Atom		    atom[1]; */
 	XWindowAttributes   root_attr;
 	XGetWindowAttributes (win->dpy,
 			      RootWindow (win->dpy, win->scr), &root_attr);
@@ -506,13 +509,10 @@
 	  char **svg_files, int svg_nfile)
 {
     unsigned int i;
-    svg_cairo_status_t status;
     XGCValues gcv;
     XSetWindowAttributes attributes;
     unsigned long attributemask = 0;
     cairo_surface_t *surface;
-    char *name;
-    const char *base;
 
     win->dpy = dpy;
     win->scr = DefaultScreen (dpy);




More information about the cairo-commit mailing list