summaryrefslogtreecommitdiff
path: root/oldXMenu
diff options
context:
space:
mode:
authorGerd Moellmann <gerd@gnu.org>2000-01-27 15:30:18 +0000
committerGerd Moellmann <gerd@gnu.org>2000-01-27 15:30:18 +0000
commitf5a719c8db9bf68428d92ec98b28f74ab17f56eb (patch)
tree04929265c47e4804a09ca8bd5c3fb2418fc3b4da /oldXMenu
parent0e66804c73783495a1dd4cd126c8a61511eb5d23 (diff)
downloademacs-f5a719c8db9bf68428d92ec98b28f74ab17f56eb.tar.gz
(XMenuAddSelection): Add parameter HELP.
Diffstat (limited to 'oldXMenu')
-rw-r--r--oldXMenu/AddSel.c6
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 @@
#include "copyright.h"
-/* $Header: /u/src/emacs/19.0/oldXMenu/RCS/AddSel.c,v 1.1 1992/04/11 22:10:17 jimb Exp $ */
+/* $Header: /gd/gnu/cvsroot/emacs/oldXMenu/AddSel.c,v 1.1 1999/10/03 19:34:52 fx Exp $ */
/* Copyright Massachusetts Institute of Technology 1985 */
/*
@@ -17,13 +17,14 @@
#include "XMenuInt.h"
int
-XMenuAddSelection(display, menu, p_num, data, label, active)
+XMenuAddSelection(display, menu, p_num, data, label, active, help)
Display *display;
register XMenu *menu; /* Menu object to be modified. */
register int p_num; /* Pane number to be modified. */
char *data; /* Data value. */
char *label; /* Selection label. */
int active; /* Make selection active? */
+ char *help; /* Help string */
{
register XMPane *pane; /* Pane containing the new selection. */
register XMSelect *select; /* Newly created selection. */
@@ -79,6 +80,7 @@ XMenuAddSelection(display, menu, p_num, data, label, active)
select->label_length = label_length;
select->data = data;
select->parent_p = pane;
+ select->help_string = help;
/*
* Insert the selection at the end of the selection list.