aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAndrea Corallo2020-01-01 12:14:53 +0100
committerAndrea Corallo2020-01-01 12:14:53 +0100
commitb0a283872c7bdfb8dbd1af459d0827c07fa72ec2 (patch)
tree6d8d59ced7d0ef3e3cabdb8dd9b59a3c6d551383 /src
parentdd66ef5ad198fe914dd603a484e1459dff2af641 (diff)
downloademacs-b0a283872c7bdfb8dbd1af459d0827c07fa72ec2.tar.gz
emacs-b0a283872c7bdfb8dbd1af459d0827c07fa72ec2.zip
Revert "Pacify gcc -Wunused-function on Ubuntu 18.04.3"
This reverts commit 186152ba400b58d2d278c52d2e3d896decae767e.
Diffstat (limited to 'src')
-rw-r--r--src/xfns.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xfns.c b/src/xfns.c
index b94666d5548..021efafd579 100644
--- a/src/xfns.c
+++ b/src/xfns.c
@@ -4572,8 +4572,6 @@ On MS Windows, this just returns nil. */)
4572 return Qnil; 4572 return Qnil;
4573} 4573}
4574 4574
4575#ifndef USE_GTK
4576
4577/* Store the geometry of the workarea on display DPYINFO into *RECT. 4575/* Store the geometry of the workarea on display DPYINFO into *RECT.
4578 Return false if and only if the workarea information cannot be 4576 Return false if and only if the workarea information cannot be
4579 obtained via the _NET_WORKAREA root window property. */ 4577 obtained via the _NET_WORKAREA root window property. */
@@ -4636,6 +4634,8 @@ x_get_net_workarea (struct x_display_info *dpyinfo, XRectangle *rect)
4636 return result; 4634 return result;
4637} 4635}
4638 4636
4637#ifndef USE_GTK
4638
4639/* Return monitor number where F is "most" or closest to. */ 4639/* Return monitor number where F is "most" or closest to. */
4640static int 4640static int
4641x_get_monitor_for_frame (struct frame *f, 4641x_get_monitor_for_frame (struct frame *f,