Bump GTK+ to 3.22

This commit is contained in:
Jeremie Knuesel 2018-02-12 14:50:14 +01:00
parent f6dd3682a8
commit 1a12214a8c
3 changed files with 2 additions and 4 deletions

2
README
View file

@ -5,7 +5,7 @@ girara user interface library and several document libraries.
Requirements
------------
gtk3 (>= 3.10)
gtk3 (>= 3.22)
glib (>= 2.50)
girara (>= 0.2.8)
sqlite3 (optional, >= 3.5.9)

View file

@ -26,7 +26,7 @@ GLIB_MIN_VERSION = 2.50
GLIB_PKG_CONFIG_NAME = glib-2.0
# GTK
GTK_VERSION_CHECK ?= 1
GTK_MIN_VERSION = 3.10
GTK_MIN_VERSION = 3.22
GTK_PKG_CONFIG_NAME = gtk+-3.0
# pkg-config binary

View file

@ -157,7 +157,6 @@ zathura_update_view_ppi(zathura_t* zathura)
double ppi = 0.0;
#if GTK_CHECK_VERSION(3,22,0)
GdkMonitor* monitor = gdk_display_get_monitor_at_window(display, window);
if (monitor == NULL) {
return;
@ -194,7 +193,6 @@ 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);
}