surface: Fix detach mime-data after ecda633f88

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.
This commit is contained in:
Alexander Shulgin 2010-01-29 09:17:01 +00:00 committed by Chris Wilson
parent 5f0a0088af
commit e11d2d0b4d

View file

@ -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