mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-17 14:30:15 +00:00
GtkCssImage: formatting fixes
This commit is contained in:
parent
5fb10d25c1
commit
b821f132d1
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user