aboutsummaryrefslogtreecommitdiffstats
path: root/src/xfns.c
diff options
context:
space:
mode:
authorPaul Eggert <[email protected]>2013-05-07 12:25:42 -0700
committerPaul Eggert <[email protected]>2013-05-07 12:25:42 -0700
commit2b66427dedba115445a06e1b9097a253222377f4 (patch)
tree07d5feba83e4e362acbf34d85b8a51677f04dc5b /src/xfns.c
parent15acfe419fe1ca82c0a806c600a7e6d000cd56a5 (diff)
* xfns.c (x_get_net_workarea): Define only if !GTK || GTK<3.4.
This fixes a problem introduced by my previous change.
Diffstat (limited to 'src/xfns.c')
-rw-r--r--src/xfns.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/xfns.c b/src/xfns.c
index 8254f3cf22..2164ff5cd7 100644
--- a/src/xfns.c
+++ b/src/xfns.c
@@ -3804,6 +3804,7 @@ If omitted or nil, that stands for the selected frame's display. */)
Return false if and only if the workarea information cannot be
obtained via the _NET_WORKAREA root window property. */
+#if !defined USE_GTK || GTK_MAJOR_VERSION < 3 + (GTK_MINOR_VERSION < 4)
static bool
x_get_net_workarea (struct x_display_info *dpyinfo, XRectangle *rect)
{
@@ -3861,6 +3862,7 @@ x_get_net_workarea (struct x_display_info *dpyinfo, XRectangle *rect)
return result;
}
+#endif
#ifndef USE_GTK