lwlib-Xaw.c (make_dialog): Remove extra arg to XtVaGetSubresources.
authorJan D <jan.h.d@swipnet.se>
Thu, 13 May 2010 17:48:56 +0000 (19:48 +0200)
committerJan D <jan.h.d@swipnet.se>
Thu, 13 May 2010 17:48:56 +0000 (19:48 +0200)
lwlib/ChangeLog
lwlib/lwlib-Xaw.c

index 8543b23..dfa6188 100644 (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
index d31b460..eaaf2b4 100644 (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)