]> code.delx.au - gnu-emacs/commit
Do not require libXt-devel when building with gtk.
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 3 Jun 2014 19:59:55 +0000 (12:59 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 3 Jun 2014 19:59:55 +0000 (12:59 -0700)
commit181f08a7d8378c5d3cb290b58c7618396413d28c
treed36524ab6287a64f552897cfe3f1c8e2bce14213
parent5897da1d746561c63719b21c5984b49a194f8209
Do not require libXt-devel when building with gtk.

* lwlib/lwlib-widget.h: New file, with contents taken from lwlib.h.
(widget_value) [HAVE_NTGUI]: New member 'title'.
* lwlib/lwlib.h: Include lwlib-widget.h.
(change_type, enum button_type, widget_value):
Move to lwlib-widget.h.
* src/gtkutil.h, src/menu.h: Include lwlib-widget.h, not lwlib-h, to avoid
dependency on libXt-devel.
* src/menu.h [HAVE_NTGUI]: Include lwlib-widget.h in this case too.
(enum button_type, widget_value) [HAVE_NTGUI]: Remove, as
lwlib-widget.h now does this.
* src/nsmenu.m (ns_menu_show): "enabled" -> "enable" to fix typo.
lwlib/ChangeLog
lwlib/lwlib-widget.h [new file with mode: 0644]
lwlib/lwlib.h
src/ChangeLog
src/gtkutil.h
src/menu.h
src/nsmenu.m