From 60c6e448ebdde76452283c60c2fb0f8b7cfccbe8 Mon Sep 17 00:00:00 2001 From: Dmitry Antipov Date: Tue, 15 Jul 2014 13:59:05 +0400 Subject: * lwlib/lwlib.h (toplevel): Use unsigned int for LWLIB_ID. * src/xmenu.c (toplevel): Use LWLIB_ID for next_menubar_widget_id. (pop_down_menu) [USE_X_TOOLKIT]: Accept integer arg. (create_and_show_popup_menu, create_and_show_dialog) [USE_X_TOOLKIT]: Use record_unwind_protect_int and avoid consing. (syms_of_xmenu) [USE_X_TOOLKIT]: Declare WIDGET_ID_TICK_START. --- lwlib/ChangeLog | 4 ++++ lwlib/lwlib.h | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'lwlib') diff --git a/lwlib/ChangeLog b/lwlib/ChangeLog index 20ace660739..11ee10edac2 100644 --- a/lwlib/ChangeLog +++ b/lwlib/ChangeLog @@ -1,3 +1,7 @@ +2014-07-15 Dmitry Antipov + + * lwlib.h (toplevel): Use unsigned int for LWLIB_ID. + 2014-06-28 Glenn Morris * Makefile.in: Use gcc auto-dependency information. diff --git a/lwlib/lwlib.h b/lwlib/lwlib.h index 46e2d7a4891..7d87facb903 100644 --- a/lwlib/lwlib.h +++ b/lwlib/lwlib.h @@ -44,7 +44,7 @@ along with GNU Emacs. If not, see . */ #include "lwlib-widget.h" -typedef unsigned long LWLIB_ID; +typedef unsigned int LWLIB_ID; /* Menu separator types. */ -- cgit v1.2.1