diff options
| author | Gerd Moellmann | 2000-01-27 15:30:18 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 2000-01-27 15:30:18 +0000 |
| commit | f5a719c8db9bf68428d92ec98b28f74ab17f56eb (patch) | |
| tree | 04929265c47e4804a09ca8bd5c3fb2418fc3b4da /oldXMenu/AddSel.c | |
| parent | 0e66804c73783495a1dd4cd126c8a61511eb5d23 (diff) | |
| download | emacs-f5a719c8db9bf68428d92ec98b28f74ab17f56eb.tar.gz emacs-f5a719c8db9bf68428d92ec98b28f74ab17f56eb.zip | |
(XMenuAddSelection): Add parameter HELP.
Diffstat (limited to 'oldXMenu/AddSel.c')
| -rw-r--r-- | oldXMenu/AddSel.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/oldXMenu/AddSel.c b/oldXMenu/AddSel.c index cfb0b3dbcf0..3a25cbdba3a 100644 --- a/oldXMenu/AddSel.c +++ b/oldXMenu/AddSel.c | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | #include "copyright.h" | 1 | #include "copyright.h" |
| 2 | 2 | ||
| 3 | /* $Header: /u/src/emacs/19.0/oldXMenu/RCS/AddSel.c,v 1.1 1992/04/11 22:10:17 jimb Exp $ */ | 3 | /* $Header: /gd/gnu/cvsroot/emacs/oldXMenu/AddSel.c,v 1.1 1999/10/03 19:34:52 fx Exp $ */ |
| 4 | /* Copyright Massachusetts Institute of Technology 1985 */ | 4 | /* Copyright Massachusetts Institute of Technology 1985 */ |
| 5 | 5 | ||
| 6 | /* | 6 | /* |
| @@ -17,13 +17,14 @@ | |||
| 17 | #include "XMenuInt.h" | 17 | #include "XMenuInt.h" |
| 18 | 18 | ||
| 19 | int | 19 | int |
| 20 | XMenuAddSelection(display, menu, p_num, data, label, active) | 20 | XMenuAddSelection(display, menu, p_num, data, label, active, help) |
| 21 | Display *display; | 21 | Display *display; |
| 22 | register XMenu *menu; /* Menu object to be modified. */ | 22 | register XMenu *menu; /* Menu object to be modified. */ |
| 23 | register int p_num; /* Pane number to be modified. */ | 23 | register int p_num; /* Pane number to be modified. */ |
| 24 | char *data; /* Data value. */ | 24 | char *data; /* Data value. */ |
| 25 | char *label; /* Selection label. */ | 25 | char *label; /* Selection label. */ |
| 26 | int active; /* Make selection active? */ | 26 | int active; /* Make selection active? */ |
| 27 | char *help; /* Help string */ | ||
| 27 | { | 28 | { |
| 28 | register XMPane *pane; /* Pane containing the new selection. */ | 29 | register XMPane *pane; /* Pane containing the new selection. */ |
| 29 | register XMSelect *select; /* Newly created selection. */ | 30 | register XMSelect *select; /* Newly created selection. */ |
| @@ -79,6 +80,7 @@ XMenuAddSelection(display, menu, p_num, data, label, active) | |||
| 79 | select->label_length = label_length; | 80 | select->label_length = label_length; |
| 80 | select->data = data; | 81 | select->data = data; |
| 81 | select->parent_p = pane; | 82 | select->parent_p = pane; |
| 83 | select->help_string = help; | ||
| 82 | 84 | ||
| 83 | /* | 85 | /* |
| 84 | * Insert the selection at the end of the selection list. | 86 | * Insert the selection at the end of the selection list. |