workaround for swig problem
Dana Jansens danakj@orodu.net
2 files changed,
4 insertions(+),
4 deletions(-)
M
otk/display.cc
→
otk/display.cc
@@ -63,7 +63,7 @@ GCCache *Display::_gccache = (GCCache*) 0;
int Display::_grab_count = 0; -int Display::xerrorHandler(::Display *d, XErrorEvent *e) +static int xerrorHandler(::Display *d, XErrorEvent *e) { #ifdef DEBUG char errtxt[128];
M
otk/display.hh
→
otk/display.hh
@@ -69,11 +69,11 @@ @see Texture
*/ static GCCache *_gccache; - //! Handles X errors on the display - /*! + // Handles X errors on the display + /* Displays the error if compiled for debugging. */ - static int xerrorHandler(::Display *d, XErrorEvent *e); + //static int xerrorHandler(::Display *d, XErrorEvent *e); //! Prevents instantiation of the class Display();