File tgif-4.1.45-func_call.patch of Package tgif
--- convxim.c
+++ convxim.c
@@ -119,8 +119,7 @@
}
static
-void XIMClose(win)
- Window win;
+void XIMClose( Window win)
{
CVListElem *pElem=FindXIC(win);
@@ -313,7 +312,7 @@
XSetICFocus(ic);
if(_XIMErrorFlag) {
- XIMClose();
+ XIMClose(win);
Msg(TgLoadString(STID_CLOSE_XIM));
}
}
--- exec.c
+++ exec.c
@@ -8864,9 +8864,7 @@
}
static
-int PbmToEpsi(d_scale, pbm_fname, out_fname, orig_cmd)
- double d_scale;
- char *pbm_fname, *out_fname, *orig_cmd;
+int PbmToEpsi(double d_scale, char *pbm_fname,char *out_fname,char *orig_cmd)
{
char xbm_fname[MAXPATHLENGTH];
int rc=0, x_hot=0, y_hot=0, image_w=0, image_h=0;
@@ -9030,7 +9028,7 @@
tmp_pbm_fname, src_file_name);
}
ExecuteCmd(cmd, FALSE);
- PbmToEpsi(scale, tmp_pbm_fname, tmp_fname1);
+ PbmToEpsi(scale, tmp_pbm_fname, tmp_fname1, orig_cmd);
UtilConcatFile(tmp_fname1, src_file_name, dest_file_name);
unlink(tmp_fname1);
--- tgtwb5dl.c
+++ tgtwb5dl.c
@@ -901,9 +901,7 @@
/* --------------------- Tdgtb5DlgSetMsg --------------------- */
static
-int Tdgtb5DlgSetMsg(pti, msg)
- TidgetInfo *pti;
- char *msg;
+int Tdgtb5DlgSetMsg(TidgetInfo *pti,char * msg)
{
return TRUE;
}