]> git.pld-linux.org Git - packages/fox.git/blob - fox-Xlib.patch
- release 4 (rebuild against libpng-1.5)
[packages/fox.git] / fox-Xlib.patch
1 --- fox-1.7.25/lib/FXApp.cpp.orig       2010-09-28 02:55:41.000000000 +0200
2 +++ fox-1.7.25/lib/FXApp.cpp    2011-05-13 16:48:16.326049884 +0200
3 @@ -1207,7 +1207,7 @@
4  #ifndef NO_XIM
5    XIMCallback ximcallback;
6    fxwarning("Warning: input method server restarted.\n");
7 -  XUnregisterIMInstantiateCallback((Display*)app->getDisplay(),NULL,NULL,NULL,(XIMProc)imcreatecallback,(XPointer)a);
8 +  XUnregisterIMInstantiateCallback((Display*)app->getDisplay(),NULL,NULL,NULL,(XIDProc)imcreatecallback,(XPointer)a);
9    a->xim=XOpenIM((Display*)app->display,NULL,NULL,NULL);
10    if(a->xim){
11      ximcallback.callback=(XIMProc)imdestroycallback;
12 @@ -1222,7 +1222,7 @@
13  void FXApp::imdestroycallback(void*,FXApp* a,void*){
14  #ifndef NO_XIM
15    fxwarning("Warning: input method server terminated.\n");
16 -  XRegisterIMInstantiateCallback((Display*)a->getDisplay(),NULL,NULL,NULL,(XIMProc)imcreatecallback,(XPointer)a);
17 +  XRegisterIMInstantiateCallback((Display*)a->getDisplay(),NULL,NULL,NULL,(XIDProc)imcreatecallback,(XPointer)a);
18    a->xim=NULL;
19  #endif
20    }
21 @@ -1538,7 +1538,7 @@
22        FXTRACE((100,"Got Input Method\n"));
23        }
24      else{
25 -      XRegisterIMInstantiateCallback((Display*)display,NULL,NULL,NULL,(XIMProc)imcreatecallback,(XPointer)this);
26 +      XRegisterIMInstantiateCallback((Display*)display,NULL,NULL,NULL,(XIDProc)imcreatecallback,(XPointer)this);
27        }
28  #endif
29  
This page took 0.090827 seconds and 3 git commands to generate.