mirror of
https://gitlab.gnome.org/GNOME/libmks.git
synced 2024-12-22 13:45:21 +00:00
lib: fix height usage in aspect ratio
This commit is contained in:
parent
d20dcd2674
commit
d8d2b60a93
@ -101,7 +101,7 @@ static double
|
||||
mks_cairo_framebuffer_get_intrinsic_aspect_ratio (GdkPaintable *paintable)
|
||||
{
|
||||
double width = gdk_paintable_get_intrinsic_width (paintable);
|
||||
double height = gdk_paintable_get_intrinsic_width (paintable);
|
||||
double height = gdk_paintable_get_intrinsic_height (paintable);
|
||||
|
||||
return width / height;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user