app: use cairo_region_t for canvas items if cairo >= 1.10 is available

This is a gross hack that typedefs around between GdkRegion and
cairo_region_t and has some evil #ifdefs. This is going to die
immeditately once we can depend on cairo 1.10.
This commit is contained in:
Michael Natterer
2010-10-18 19:59:13 +02:00
parent 1130e8c890
commit 479082075b
22 changed files with 471 additions and 330 deletions

View File

@ -25,7 +25,7 @@ void gimp_display_shell_expose_area (GimpDisplayShell *shell,
gint w,
gint h);
void gimp_display_shell_expose_region (GimpDisplayShell *shell,
GdkRegion *region);
cairo_region_t *region);
void gimp_display_shell_expose_vectors (GimpDisplayShell *shell,
GimpVectors *vectors);
void gimp_display_shell_expose_full (GimpDisplayShell *shell);