[cogl/wip/wayland-compositor: 14/18] cogl-xlib.c: remove unused error_handler()



commit e206fb4b63332f99b634f1a974177f73f1f25f3a
Author: Robert Bragg <robert linux intel com>
Date:   Wed May 25 18:57:28 2011 +0100

    cogl-xlib.c: remove unused error_handler()

 cogl/cogl-xlib.c |   13 -------------
 1 files changed, 0 insertions(+), 13 deletions(-)
---
diff --git a/cogl/cogl-xlib.c b/cogl/cogl-xlib.c
index 8e2be9e..018d11a 100644
--- a/cogl/cogl-xlib.c
+++ b/cogl/cogl-xlib.c
@@ -99,19 +99,6 @@ _cogl_xlib_remove_filter (CoglNativeFilterFunc func,
   cogl_renderer_remove_native_filter (ctx->display->renderer, func, data);
 }
 
-static int
-error_handler (Display     *xdpy,
-               XErrorEvent *error)
-{
-  _COGL_GET_CONTEXT (ctxt, 0);
-
-  g_assert (ctxt->trap_state);
-
-  ctxt->trap_state->trapped_error_code = error->error_code;
-
-  return 0;
-}
-
 void
 _cogl_xlib_trap_errors (CoglXlibTrapState *state)
 {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]