diff --git a/cogl/cogl/cogl-xlib-renderer-private.h b/cogl/cogl/cogl-xlib-renderer-private.h index 625323bdb..edfa189b7 100644 --- a/cogl/cogl/cogl-xlib-renderer-private.h +++ b/cogl/cogl/cogl-xlib-renderer-private.h @@ -92,9 +92,6 @@ _cogl_xlib_renderer_untrap_errors (CoglRenderer *renderer, CoglXlibRenderer * _cogl_xlib_renderer_get_data (CoglRenderer *renderer); -int64_t -_cogl_xlib_renderer_get_dispatch_timeout (CoglRenderer *renderer); - CoglOutput * _cogl_xlib_renderer_output_for_rectangle (CoglRenderer *renderer, int x, diff --git a/cogl/cogl/cogl-xlib-renderer.c b/cogl/cogl/cogl-xlib-renderer.c index 53b4b050a..704aba894 100644 --- a/cogl/cogl/cogl-xlib-renderer.c +++ b/cogl/cogl/cogl-xlib-renderer.c @@ -597,22 +597,6 @@ cogl_xlib_renderer_remove_filter (CoglRenderer *renderer, (CoglNativeFilterFunc)func, data); } -int64_t -_cogl_xlib_renderer_get_dispatch_timeout (CoglRenderer *renderer) -{ - CoglXlibRenderer *xlib_renderer = _cogl_xlib_renderer_get_data (renderer); - - if (renderer->xlib_enable_event_retrieval) - { - if (XPending (xlib_renderer->xdpy)) - return 0; - else - return -1; - } - else - return -1; -} - CoglOutput * _cogl_xlib_renderer_output_for_rectangle (CoglRenderer *renderer, int x, diff --git a/cogl/cogl/cogl.c b/cogl/cogl/cogl.c index 279d5b689..6d83e523a 100644 --- a/cogl/cogl/cogl.c +++ b/cogl/cogl/cogl.c @@ -53,7 +53,6 @@ #include "cogl1-context.h" #include "cogl-offscreen.h" #include "winsys/cogl-winsys-private.h" -#include "deprecated/cogl-clutter.h" #include "deprecated/cogl-framebuffer-deprecated.h"