diff options
Diffstat (limited to 'src')
| -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) | |||
| 223 | int | 223 | int |
| 224 | xg_get_scale (struct frame *f) | 224 | xg_get_scale (struct frame *f) |
| 225 | { | 225 | { |
| 226 | #ifdef HAVE_GTK3 | 226 | #if GTK_CHECK_VERSION (3, 10, 0) |
| 227 | if (FRAME_GTK_WIDGET (f)) | 227 | if (FRAME_GTK_WIDGET (f)) |
| 228 | return gtk_widget_get_scale_factor (FRAME_GTK_WIDGET (f)); | 228 | return gtk_widget_get_scale_factor (FRAME_GTK_WIDGET (f)); |
| 229 | #endif | 229 | #endif |