2011-06-01 08:05:09 +02:00
|
|
|
# HG changeset patch
|
|
|
|
# User Wolfgang Rosenauer <wr@rosenauer.org>
|
2011-07-01 11:12:30 +02:00
|
|
|
# Parent 43cb27a012f2532add0e9791c1b5a7d0c3b03f9b
|
2011-06-01 08:05:09 +02:00
|
|
|
Bug 631155 - undefined return value in function '_cairo_surface_wrapper_flush'
|
|
|
|
|
|
|
|
diff --git a/gfx/cairo/cairo/src/cairo-surface-wrapper.c b/gfx/cairo/cairo/src/cairo-surface-wrapper.c
|
|
|
|
--- a/gfx/cairo/cairo/src/cairo-surface-wrapper.c
|
|
|
|
+++ b/gfx/cairo/cairo/src/cairo-surface-wrapper.c
|
|
|
|
@@ -526,9 +526,12 @@ _cairo_surface_wrapper_fini (cairo_surfa
|
|
|
|
}
|
|
|
|
|
|
|
|
cairo_status_t
|
|
|
|
_cairo_surface_wrapper_flush (cairo_surface_wrapper_t *wrapper)
|
|
|
|
{
|
|
|
|
if (wrapper->target->backend->flush) {
|
|
|
|
return wrapper->target->backend->flush(wrapper->target);
|
|
|
|
}
|
|
|
|
+
|
|
|
|
+ // this is preliminary to cool down gcc and build checks
|
|
|
|
+ return CAIRO_STATUS_SUCCESS;
|
|
|
|
}
|