*** empty log message ***

This commit is contained in:
Fred Pierresteguy 1994-02-15 13:54:14 +00:00
parent 4ffe73ce3c
commit 9acc68b10b

View file

@ -75,7 +75,15 @@ static Widget
xlw_create_menubar (instance)
widget_instance* instance;
{
Widget widget =
Widget widget;
widget_value *tem = (widget_value *) XtMalloc (sizeof (widget_value));
/* _XtCreate is freeing the object we passed,
so make a copy that we free later. */
bcopy (instance->info->val, tem, sizeof (widget_value));
widget =
XtVaCreateWidget (instance->info->name, xlwMenuWidgetClass,
instance->parent,
XtNmenu, instance->info->val,