Index: cairo/pycairo-surface.c =================================================================== RCS file: /cvs/cairo/pycairo/cairo/pycairo-surface.c,v retrieving revision 1.73 diff -p -u -r1.73 pycairo-surface.c --- cairo/pycairo-surface.c 28 May 2006 02:03:07 -0000 1.73 +++ cairo/pycairo-surface.c 10 Jun 2006 21:20:29 -0000 @@ -733,7 +733,7 @@ pdf_surface_set_dpi (PycairoPDFSurface * if (!PyArg_ParseTuple(args, "dd:PDFSurface.set_dpi", &x_dpi, &y_dpi)) return NULL; - cairo_pdf_surface_set_dpi (o->surface, x_dpi, y_dpi); + cairo_surface_set_fallback_resolution (o->surface, x_dpi, y_dpi); Py_RETURN_NONE; } @@ -881,7 +881,7 @@ ps_surface_set_dpi (PycairoPSSurface *o, if (!PyArg_ParseTuple(args, "dd:PSSurface.set_dpi", &x_dpi, &y_dpi)) return NULL; - cairo_ps_surface_set_dpi (o->surface, x_dpi, y_dpi); + cairo_surface_set_fallback_resolution (o->surface, x_dpi, y_dpi); Py_RETURN_NONE; } @@ -1000,7 +1000,7 @@ svg_surface_set_dpi (PycairoSVGSurface * if (!PyArg_ParseTuple(args, "dd:SVGSurface.set_dpi", &x_dpi, &y_dpi)) return NULL; - cairo_svg_surface_set_dpi (o->surface, x_dpi, y_dpi); + cairo_surface_set_fallback_resolution (o->surface, x_dpi, y_dpi); Py_RETURN_NONE; }