summaryrefslogtreecommitdiff
path: root/lwlib/lwlib.h
diff options
context:
space:
mode:
authorDmitry Antipov <dmantipov@yandex.ru>2014-07-15 13:59:05 +0400
committerDmitry Antipov <dmantipov@yandex.ru>2014-07-15 13:59:05 +0400
commit60c6e448ebdde76452283c60c2fb0f8b7cfccbe8 (patch)
treeb8ab0b81dd3345bb25e64efbbfd727c7b518459b /lwlib/lwlib.h
parentfb32e9f8f3962c63a5edb0a36283ae543601b115 (diff)
downloademacs-60c6e448ebdde76452283c60c2fb0f8b7cfccbe8.tar.gz
* 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.
Diffstat (limited to 'lwlib/lwlib.h')
-rw-r--r--lwlib/lwlib.h2
1 files changed, 1 insertions, 1 deletions
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 <http://www.gnu.org/licenses/>. */
#include "lwlib-widget.h"
-typedef unsigned long LWLIB_ID;
+typedef unsigned int LWLIB_ID;
/* Menu separator types. */