summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-01-11 19:39:10 +0000
committerDana Jansens <danakj@orodu.net>2003-01-11 19:39:10 +0000
commitf1b9e2168d8c1b03b0fcf0b6dd70aa46c513059d (patch)
treedf90d7c70b07ef40086bfc789e28826df3714cec
parent23c11a151a968457ce6f5a58549d842ea74b6f46 (diff)
workaround for swig problem
-rw-r--r--otk/display.cc2
-rw-r--r--otk/display.hh6
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();