Commit 9acc68b1 authored by Fred Pierresteguy's avatar Fred Pierresteguy
Browse files

*** empty log message ***

parent 4ffe73ce
......@@ -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,
XtNmenu, instance->info->val,
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment