GtkCssImage: formatting fixes

This commit is contained in:
Cosimo Cecchi 2015-11-20 21:20:48 -08:00
parent 5fb10d25c1
commit b821f132d1

View File

@ -390,14 +390,11 @@ _gtk_css_image_get_surface (GtkCssImage *image,
g_return_val_if_fail (surface_width > 0, NULL);
g_return_val_if_fail (surface_height > 0, NULL);
if (target)
{
result = cairo_surface_create_similar (target,
CAIRO_CONTENT_COLOR_ALPHA,
surface_width,
surface_height);
}
result = cairo_surface_create_similar (target,
CAIRO_CONTENT_COLOR_ALPHA,
surface_width,
surface_height);
else
result = cairo_image_surface_create (CAIRO_FORMAT_ARGB32,
surface_width,