diff options
author | Eli Zaretskii <eliz@gnu.org> | 2020-01-01 19:55:35 +0200 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2020-01-01 21:16:48 +0200 |
commit | 338154240e05a06a9fedb806940ef671868b4722 (patch) | |
tree | f66bf42f7eb8fdb78605bbfae3ec44b4772d7525 /src/xfns.c | |
parent | 071483b6f516b737182440264ec11c94ada53dc3 (diff) | |
download | emacs-338154240e05a06a9fedb806940ef671868b4722.tar.gz |
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>.
(cherry picked from commit d36adb544d984b91c70f6194da01344e4b2b6fc9)
Diffstat (limited to 'src/xfns.c')
-rw-r--r-- | src/xfns.c | 2 |
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. */) 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 |