projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dd139e1
)
Fix compilation with GTK versions older than 3
author
Eli Zaretskii
<eliz@gnu.org>
Wed, 1 Jan 2020 17:55:35 +0000
(19:55 +0200)
committer
Eli Zaretskii
<eliz@gnu.org>
Wed, 1 Jan 2020 17:55:35 +0000
(19:55 +0200)
* 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>.
src/xfns.c
patch
|
blob
|
history
diff --git
a/src/xfns.c
b/src/xfns.c
index b94666d5548e035c6f95f83607a6aec8a37e912d..d0d5d399dc4846b1f5c1f1d40d0a563e4635cb97 100644
(file)
--- a/
src/xfns.c
+++ b/
src/xfns.c
@@
-4572,7
+4572,7
@@
On MS Windows, this just returns nil. */)
return Qnil;
}
-#if
ndef 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