Commit 17eab85c authored by Paul Reilly's avatar Paul Reilly
Browse files

(update_one_menu_entry): Use the parent of the cascade button as the

parent of the pulldown, rather than the cascade button itself.  This
works around a Motif SIGSEGV in the function `InSharedMenuHierarchy'.
parent e1e93967
......@@ -436,7 +436,7 @@ update_one_menu_entry (widget_instance* instance, Widget widget,
if (contents)
menu = XmCreatePulldownMenu (widget, "pulldown", NULL, 0);
menu = XmCreatePulldownMenu (XtParent (widget), "pulldown", NULL, 0);
make_menu_in_widget (instance, menu, contents);
ac = 0;
XtSetArg (al [ac], XmNsubMenuId, menu); ac++;
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