Commit 2b66427d authored by Paul Eggert's avatar Paul Eggert
Browse files

* xfns.c (x_get_net_workarea): Define only if !GTK || GTK<3.4.

This fixes a problem introduced by my previous change.
parent 15acfe41
2013-05-07 Paul Eggert <eggert@cs.ucla.edu>
* xfns.c (x_get_net_workarea): Define only if !GTK || GTK<3.4.
This fixes a problem introduced by my previous change.
2013-05-07 Glenn Morris <rgm@gnu.org>
 
* lread.c (readchar): Don't read from a dead buffer. (Bug#14280)
......
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment