lwlib-Xaw.c (make_dialog): Remove extra arg to XtVaGetSubresources.

This commit is contained in:
Jan D 2010-05-13 19:48:56 +02:00
parent 57ff5d7b96
commit 41d81b80f1
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2010-05-13 Jan Djärv <jan.h.d@swipnet.se>
* lwlib-Xaw.c (make_dialog): Remove extra arg to XtVaGetSubresources.
2010-05-08 Jan Djärv <jan.h.d@swipnet.se>
* xlwmenu.c (XlwMenuDestroy): Remove XtDestroyWidget on subwidgets

View file

@ -664,7 +664,7 @@ make_dialog (name, parent, pop_up_p, shell_title, icon_name, text_input_slot,
(XtPointer)"Sans-14" }};
char *faceName;
XtVaGetSubresources (dialog, &faceName, "Dialog", "dialog",
rec, 1, 0, NULL);
rec, 1, (String)NULL);
if (strcmp ("none", faceName) != 0)
xft_font = openFont (dialog, faceName);
if (xft_font)