error: `XICCallback' undeclared (Solaris build problem)
Petr Sumbera
Petr.Sumbera at Sun.COM
Tue Apr 15 03:19:18 CDT 2008
I can confirm that this works (I mean it compiles).
Thanks,
Petr
Kusanagi Kouichi wrote:
> Does this patch fix the problem?
>
> diff --git a/dlls/winex11.drv/xim.c b/dlls/winex11.drv/xim.c
> index d4df9f7..b66cf87 100644
> --- a/dlls/winex11.drv/xim.c
> +++ b/dlls/winex11.drv/xim.c
> @@ -501,7 +501,7 @@ XIC X11DRV_CreateIC(XIM xim, struct x11drv_win_data *data)
> XVaNestedList preedit = NULL;
> XVaNestedList status = NULL;
> XIC xic;
> - XICCallback destroy = {(XPointer)data, X11DRV_DestroyIC};
> + XIMCallback destroy = {(XPointer)data, (XIMProc)X11DRV_DestroyIC};
> XIMCallback P_StartCB;
> XIMCallback P_DoneCB;
> XIMCallback P_DrawCB;
More information about the wine-devel
mailing list