diff options
-rw-r--r-- | src/gtkutil.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gtkutil.c b/src/gtkutil.c index 03319726f09..0c8395efe9b 100644 --- a/src/gtkutil.c +++ b/src/gtkutil.c @@ -223,7 +223,7 @@ xg_get_gdk_scale (void) int xg_get_scale (struct frame *f) { -#ifdef HAVE_GTK3 +#if GTK_CHECK_VERSION (3, 10, 0) if (FRAME_GTK_WIDGET (f)) return gtk_widget_get_scale_factor (FRAME_GTK_WIDGET (f)); #endif |