error: `XICCallback' undeclared (Solaris build problem)

Kusanagi Kouichi slash at ma.neweb.ne.jp
Mon Apr 14 12:26:09 CDT 2008


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