From f1b9e2168d8c1b03b0fcf0b6dd70aa46c513059d Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sat, 11 Jan 2003 19:39:10 +0000 Subject: [PATCH] workaround for swig problem --- otk/display.cc | 2 +- otk/display.hh | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) 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(); -- 2.45.2