[sugar] Pycairo error
Gonzalo Odiard
godiard
Fri Jan 19 16:25:49 EST 2007
Skipped content of type multipart/alternative-------------- next part --------------
? config.guess
? config.sub
? ltmain.sh
? pycairo-patch.txt
? cairo/pycairo-context.c.ori
Index: cairo/pycairo-context.c
===================================================================
RCS file: /cvs/cairo/pycairo/cairo/pycairo-context.c,v
retrieving revision 1.82
diff -r1.82 pycairo-context.c
203a204
> /*
233c234
<
---
> */
353c354
< cairo_get_dash_count (o->ctx, &count);
---
> cairo_get_dash_count (o->ctx);
358,362c359,364
< status = cairo_get_dash (o->ctx, dashes, &offset);
< if (status != CAIRO_STATUS_SUCCESS) {
< Pycairo_Check_Status (status);
< goto exit;
< }
---
> cairo_get_dash (o->ctx, dashes, &offset);
> RETURN_NULL_IF_CAIRO_CONTEXT_ERROR(o->ctx);
> // if (status != CAIRO_STATUS_SUCCESS) {
> // Pycairo_Check_Status (status);
> // goto exit;
> // }
386c388
< cairo_get_dash_count (o->ctx, &count);
---
> cairo_get_dash_count (o->ctx);
1317,1318c1319,1320
< {"copy_clip_rectangles", (PyCFunction)pycairo_copy_clip_rectangles,
< METH_NOARGS},
---
> // {"copy_clip_rectangles", (PyCFunction)pycairo_copy_clip_rectangles,
> // METH_NOARGS},
More information about the Sugar-devel
mailing list