From: Dana Jansens Date: Sat, 11 Jan 2003 19:39:10 +0000 (+0000) Subject: workaround for swig problem X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=f1b9e2168d8c1b03b0fcf0b6dd70aa46c513059d;p=chaz%2Fopenbox workaround for swig problem --- diff --git a/otk/display.cc b/otk/display.cc index 05a937e0..97e77de1 100644 --- a/otk/display.cc +++ b/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]; diff --git a/otk/display.hh b/otk/display.hh index 7f08bc51..4e9b0227 100644 --- a/otk/display.hh +++ b/otk/display.hh @@ -69,11 +69,11 @@ private: */ 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();