[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master d36adb5: Fix compilation with GTK versions older than 3
From: |
Eli Zaretskii |
Subject: |
master d36adb5: Fix compilation with GTK versions older than 3 |
Date: |
Wed, 1 Jan 2020 12:56:05 -0500 (EST) |
branch: master
commit d36adb544d984b91c70f6194da01344e4b2b6fc9
Author: Eli Zaretskii <address@hidden>
Commit: Eli Zaretskii <address@hidden>
Fix compilation with GTK versions older than 3
* src/xfns.c (x_get_net_workarea): Change a recently moved #ifndef
so that GTK builds which need this function will compile it.
Reported by John <address@hidden>.
---
src/xfns.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/xfns.c b/src/xfns.c
index b94666d..d0d5d39 100644
--- a/src/xfns.c
+++ b/src/xfns.c
@@ -4572,7 +4572,7 @@ On MS Windows, this just returns nil. */)
return Qnil;
}
-#ifndef USE_GTK
+#if !defined USE_GTK || !defined HAVE_GTK3
/* Store the geometry of the workarea on display DPYINFO into *RECT.
Return false if and only if the workarea information cannot be
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master d36adb5: Fix compilation with GTK versions older than 3,
Eli Zaretskii <=