Skip to content


libview: Fix g_return condition in set_device_scale_on_surface()
Browse files Browse the repository at this point in the history
Fail when device scale is not 1 if hidpi is not available, we were doing
the opposite.

origin commit:
  • Loading branch information
Carlos Garcia Campos authored and raveit65 committed Mar 26, 2018
1 parent 2cae078 commit 5345f83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libview/ev-pixbuf-cache.c
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ set_device_scale_on_surface (cairo_surface_t *surface,
cairo_surface_set_device_scale (surface, device_scale, device_scale);
g_return_if_fail (device_scale != 1);
g_return_if_fail (device_scale == 1);

Expand Down

0 comments on commit 5345f83

Please sign in to comment.