[cairo-commit] src/cairo-surface.c
Chris Wilson
ickle at kemper.freedesktop.org
Fri Jan 29 01:20:03 PST 2010
src/cairo-surface.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit e11d2d0b4d646757fcba11631b6db169e2c183b0
Author: Alexander Shulgin <alex.shulgin at gmail.com>
Date: Fri Jan 29 09:17:01 2010 +0000
surface: Fix detach mime-data after ecda633f887a10da650b4cd3efb17c861a6f519f
Hi,
while browsing the git log I've noticed a small mistake in the above
commit, where we reversed the order of init/fini required to reset the
mime-data array.
diff --git a/src/cairo-surface.c b/src/cairo-surface.c
index 4ab25b6..8278694 100644
--- a/src/cairo-surface.c
+++ b/src/cairo-surface.c
@@ -275,8 +275,8 @@ _cairo_surface_detach_mime_data (cairo_surface_t *surface)
if (! _cairo_surface_has_mime_data (surface))
return;
- _cairo_user_data_array_init (&surface->mime_data);
_cairo_user_data_array_fini (&surface->mime_data);
+ _cairo_user_data_array_init (&surface->mime_data);
}
cairo_status_t
More information about the cairo-commit
mailing list