Skip to content

Commit

Permalink
Fix compilation for GTK+ < 3.22
Browse files Browse the repository at this point in the history
  • Loading branch information
knuesel committed Feb 12, 2018
1 parent 5505575 commit f6dd368
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zathura/zathura.c
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,6 @@ zathura_update_view_ppi(zathura_t* zathura)
} else {
ppi = monitor_geom.width * 25.4 / width_mm;
}
#endif

#ifdef GDK_WINDOWING_WAYLAND
/* work around apparend bug in GDK: on Wayland, monitor geometry doesn't
Expand All @@ -195,6 +194,7 @@ zathura_update_view_ppi(zathura_t* zathura)
#endif

girara_debug("monitor width: %d mm, pixels: %d, ppi: %f", width_mm, monitor_geom.width, ppi);
#endif

zathura_document_set_viewport_ppi(zathura->document, ppi);
}
Expand Down

0 comments on commit f6dd368

Please sign in to comment.