diff options
Diffstat (limited to 'libdocument/ev-document-misc.h')
-rw-r--r-- | libdocument/ev-document-misc.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libdocument/ev-document-misc.h b/libdocument/ev-document-misc.h index e6480ed0..25e3b8ce 100644 --- a/libdocument/ev-document-misc.h +++ b/libdocument/ev-document-misc.h @@ -58,7 +58,11 @@ cairo_surface_t *ev_document_misc_surface_rotate_and_scale (cairo_surface_t *sur void ev_document_misc_invert_surface (cairo_surface_t *surface); void ev_document_misc_invert_pixbuf (GdkPixbuf *pixbuf); +#if GTK_CHECK_VERSION (3, 22, 0) +gdouble ev_document_misc_get_screen_dpi (GdkScreen *screen, GdkMonitor *monitor); +#else gdouble ev_document_misc_get_screen_dpi (GdkScreen *screen, gint monitor); +#endif gchar *ev_document_misc_format_date (GTime utime); |