]> git.eshelyaron.com Git - emacs.git/commit
Pacify unused function warning in xfns.c with GTK2
authorBasil L. Contovounesios <contovob@tcd.ie>
Sun, 14 Feb 2021 16:58:06 +0000 (16:58 +0000)
committerBasil L. Contovounesios <contovob@tcd.ie>
Tue, 16 Feb 2021 16:46:53 +0000 (16:46 +0000)
commit1abf3ae854dbf8405e81680225517bbfac648964
tree02c0021d3cb09a650f6609ddb23314c7fd1a8417
parent76220fc3fc8b109d53676c1771fa1f05f3706ac7
Pacify unused function warning in xfns.c with GTK2

* src/xfns.c (x_get_net_workarea, x_get_monitor_for_frame)
(x_make_monitor_attribute_list, x_get_monitor_attributes_fallback):
[HAVE_XINERAMA] (x_get_monitor_attributes_xinerama)
[HAVE_XRANDR] (x_get_monitor_attributes_xrandr)
(x_get_monitor_attributes): Fix #ifdefs around definitions to avoid
unused function warnings regardless of GTK use (bug#46509).
[HAVE_XRANDR] (x_get_monitor_attributes_xrandr): Undefine
RANDR13_LIBRARY after it's been used.
src/xfns.c