diff options
| author | Paul Eggert | 2014-06-03 12:59:55 -0700 |
|---|---|---|
| committer | Paul Eggert | 2014-06-03 12:59:55 -0700 |
| commit | 181f08a7d8378c5d3cb290b58c7618396413d28c (patch) | |
| tree | d36524ab6287a64f552897cfe3f1c8e2bce14213 /src/gtkutil.h | |
| parent | 5897da1d746561c63719b21c5984b49a194f8209 (diff) | |
| download | emacs-181f08a7d8378c5d3cb290b58c7618396413d28c.tar.gz emacs-181f08a7d8378c5d3cb290b58c7618396413d28c.zip | |
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.
Diffstat (limited to 'src/gtkutil.h')
| -rw-r--r-- | src/gtkutil.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gtkutil.h b/src/gtkutil.h index 345b3283e6d..a69932cc25c 100644 --- a/src/gtkutil.h +++ b/src/gtkutil.h | |||
| @@ -24,7 +24,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 24 | #ifdef USE_GTK | 24 | #ifdef USE_GTK |
| 25 | 25 | ||
| 26 | #include <gtk/gtk.h> | 26 | #include <gtk/gtk.h> |
| 27 | #include "../lwlib/lwlib.h" | 27 | #include "../lwlib/lwlib-widget.h" |
| 28 | #include "frame.h" | 28 | #include "frame.h" |
| 29 | #include "xterm.h" | 29 | #include "xterm.h" |
| 30 | 30 | ||