diff --git a/src/ChangeLog b/src/ChangeLog index e9629adf35a..4b71eed9c21 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2013-05-07 Jan Djärv + + * xfns.c: Move misplaced ifndef USE_GTK from previous checkin. + 2013-05-07 Paul Eggert Static checking by GCC 4.8.0. diff --git a/src/xfns.c b/src/xfns.c index d45d113a741..8254f3cf22e 100644 --- a/src/xfns.c +++ b/src/xfns.c @@ -3804,8 +3804,6 @@ 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. */ -#ifndef USE_GTK - static bool x_get_net_workarea (struct x_display_info *dpyinfo, XRectangle *rect) { @@ -3864,6 +3862,8 @@ x_get_net_workarea (struct x_display_info *dpyinfo, XRectangle *rect) return result; } +#ifndef USE_GTK + struct MonitorInfo { XRectangle geom, work; int mm_width, mm_height;