aced2ea8c1
- add missing rcs id's
47 lines
1.7 KiB
Plaintext
47 lines
1.7 KiB
Plaintext
$OpenBSD: patch-src_FmFw_c,v 1.3 2010/01/03 22:53:32 jasper Exp $
|
|
--- src/FmFw.c.orig Thu Aug 23 08:45:26 2001
|
|
+++ src/FmFw.c Sun Jan 3 01:03:08 2010
|
|
@@ -754,9 +754,9 @@
|
|
fprintf(stderr, "%s\n", action);
|
|
freopen("/dev/null", "r", stdin);
|
|
if (user.arg0flag)
|
|
- execlp(user.shell, user.shell, "-c", action, user.shell, NULL);
|
|
+ execlp(user.shell, user.shell, "-c", action, user.shell, (void *)NULL);
|
|
else
|
|
- execlp(user.shell, user.shell, "-c", action, NULL);
|
|
+ execlp(user.shell, user.shell, "-c", action, (void *)NULL);
|
|
perror("Exec failed");
|
|
exit(1);
|
|
} else if (waitpid(pid, &status, 0) == -1 || !WIFEXITED(status) ||
|
|
@@ -797,7 +797,7 @@
|
|
|
|
XtAddCallback(fw->icon_box,XtNcallback,fileListCb,(XtPointer)fw);
|
|
|
|
- XtVaGetValues(fw->icon_box,XtNnHoriz,&nhoriz,0);
|
|
+ XtVaGetValues(fw->icon_box,XtNnHoriz,&nhoriz,(void *)NULL);
|
|
XtVaSetValues(fw->viewport, XtNallowHoriz, nhoriz!=0 , NULL);
|
|
}
|
|
|
|
@@ -1030,10 +1030,10 @@
|
|
}
|
|
#ifdef VIEWPORT_HACK
|
|
XawFormDoLayout(fw->icon_box,False);
|
|
- XtVaGetValues(fw->icon_box,XtNchildren,&children,XtNnumChildren,&num_children,0);
|
|
+ XtVaGetValues(fw->icon_box,XtNchildren,&children,XtNnumChildren,&num_children,(void *)NULL);
|
|
XtManageChildren(children,num_children);
|
|
if (!force_bars)
|
|
- XtVaSetValues(fw->viewport,XtNforceBars,False,0);
|
|
+ XtVaSetValues(fw->viewport,XtNforceBars,False,(void *)NULL);
|
|
#endif
|
|
}
|
|
|
|
@@ -1349,7 +1349,7 @@
|
|
x=y=0;
|
|
if (fw->icon_box) {
|
|
if (keep_position)
|
|
- XtVaGetValues(fw->icon_box,XtNx,&x,XtNy,&y,0);
|
|
+ XtVaGetValues(fw->icon_box,XtNx,&x,XtNy,&y,(void *)NULL);
|
|
XtUnrealizeWidget(fw->icon_box);
|
|
XtDestroyWidget(fw->icon_box);
|
|
}
|