diff options
| author | Dmitry Antipov | 2014-07-15 13:59:05 +0400 |
|---|---|---|
| committer | Dmitry Antipov | 2014-07-15 13:59:05 +0400 |
| commit | 60c6e448ebdde76452283c60c2fb0f8b7cfccbe8 (patch) | |
| tree | b8ab0b81dd3345bb25e64efbbfd727c7b518459b /lwlib | |
| parent | fb32e9f8f3962c63a5edb0a36283ae543601b115 (diff) | |
| download | emacs-60c6e448ebdde76452283c60c2fb0f8b7cfccbe8.tar.gz emacs-60c6e448ebdde76452283c60c2fb0f8b7cfccbe8.zip | |
* 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')
| -rw-r--r-- | lwlib/ChangeLog | 4 | ||||
| -rw-r--r-- | lwlib/lwlib.h | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/lwlib/ChangeLog b/lwlib/ChangeLog index 20ace660739..11ee10edac2 100644 --- a/lwlib/ChangeLog +++ b/lwlib/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2014-07-15 Dmitry Antipov <dmantipov@yandex.ru> | ||
| 2 | |||
| 3 | * lwlib.h (toplevel): Use unsigned int for LWLIB_ID. | ||
| 4 | |||
| 1 | 2014-06-28 Glenn Morris <rgm@gnu.org> | 5 | 2014-06-28 Glenn Morris <rgm@gnu.org> |
| 2 | 6 | ||
| 3 | * Makefile.in: Use gcc auto-dependency information. | 7 | * 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 <http://www.gnu.org/licenses/>. */ | |||
| 44 | 44 | ||
| 45 | #include "lwlib-widget.h" | 45 | #include "lwlib-widget.h" |
| 46 | 46 | ||
| 47 | typedef unsigned long LWLIB_ID; | 47 | typedef unsigned int LWLIB_ID; |
| 48 | 48 | ||
| 49 | /* Menu separator types. */ | 49 | /* Menu separator types. */ |
| 50 | 50 | ||