]> git.eshelyaron.com Git - emacs.git/commitdiff
Revert "Pacify gcc -Wunused-function on Ubuntu 18.04.3"
authorAndrea Corallo <akrl@sdf.org>
Wed, 1 Jan 2020 11:14:53 +0000 (12:14 +0100)
committerAndrea Corallo <akrl@sdf.org>
Wed, 1 Jan 2020 11:14:53 +0000 (12:14 +0100)
This reverts commit 186152ba400b58d2d278c52d2e3d896decae767e.

src/xfns.c

index b94666d5548e035c6f95f83607a6aec8a37e912d..021efafd5799adef54fa163816ec4e56c0543448 100644 (file)
@@ -4572,8 +4572,6 @@ On MS Windows, this just returns nil.  */)
     return Qnil;
 }
 
-#ifndef USE_GTK
-
 /* Store the geometry of the workarea on display DPYINFO into *RECT.
    Return false if and only if the workarea information cannot be
    obtained via the _NET_WORKAREA root window property.  */
@@ -4636,6 +4634,8 @@ x_get_net_workarea (struct x_display_info *dpyinfo, XRectangle *rect)
   return result;
 }
 
+#ifndef USE_GTK
+
 /* Return monitor number where F is "most" or closest to.  */
 static int
 x_get_monitor_for_frame (struct frame *f,