aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEli Zaretskii2020-01-01 19:55:35 +0200
committerEli Zaretskii2020-01-01 19:55:35 +0200
commitd36adb544d984b91c70f6194da01344e4b2b6fc9 (patch)
tree4902271e1b59a22cd7698beeb7d853a02e8cf883 /src
parentdd139e175a808b5879e3ba6173a016947a60f9a6 (diff)
downloademacs-d36adb544d984b91c70f6194da01344e4b2b6fc9.tar.gz
emacs-d36adb544d984b91c70f6194da01344e4b2b6fc9.zip
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 <jpff@codemist.co.uk>.
Diffstat (limited to 'src')
-rw-r--r--src/xfns.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xfns.c b/src/xfns.c
index b94666d5548..d0d5d399dc4 100644
--- a/src/xfns.c
+++ b/src/xfns.c
@@ -4572,7 +4572,7 @@ On MS Windows, this just returns nil. */)
4572 return Qnil; 4572 return Qnil;
4573} 4573}
4574 4574
4575#ifndef USE_GTK 4575#if !defined USE_GTK || !defined HAVE_GTK3
4576 4576
4577/* Store the geometry of the workarea on display DPYINFO into *RECT. 4577/* Store the geometry of the workarea on display DPYINFO into *RECT.
4578 Return false if and only if the workarea information cannot be 4578 Return false if and only if the workarea information cannot be