cogl: Remove unneeded X11 includes from various headers

https://gitlab.gnome.org/GNOME/mutter/merge_requests/977
This commit is contained in:
Adam Jackson 2019-12-17 10:41:44 -05:00 committed by Georges Basile Stavracas Neto
parent 573ba108d9
commit d5a70c7669
3 changed files with 0 additions and 12 deletions

View File

@ -41,10 +41,6 @@
#include "cogl-gl-header.h" #include "cogl-gl-header.h"
#include "cogl-clip-stack.h" #include "cogl-clip-stack.h"
#ifdef COGL_HAS_XLIB_SUPPORT
#include <X11/Xlib.h>
#endif
typedef enum _CoglFramebufferType { typedef enum _CoglFramebufferType {
COGL_FRAMEBUFFER_TYPE_ONSCREEN, COGL_FRAMEBUFFER_TYPE_ONSCREEN,
COGL_FRAMEBUFFER_TYPE_OFFSCREEN COGL_FRAMEBUFFER_TYPE_OFFSCREEN

View File

@ -42,10 +42,6 @@
#include "cogl-poll-private.h" #include "cogl-poll-private.h"
#include "cogl-gtype-private.h" #include "cogl-gtype-private.h"
#ifdef COGL_HAS_X11_SUPPORT
#include "cogl-xlib-renderer.h"
#endif
static void _cogl_onscreen_free (CoglOnscreen *onscreen); static void _cogl_onscreen_free (CoglOnscreen *onscreen);
COGL_OBJECT_DEFINE_WITH_CODE_GTYPE (Onscreen, onscreen, COGL_OBJECT_DEFINE_WITH_CODE_GTYPE (Onscreen, onscreen,

View File

@ -40,10 +40,6 @@
#include "cogl-closure-list-private.h" #include "cogl-closure-list-private.h"
#include "winsys/cogl-winsys-private.h" #include "winsys/cogl-winsys-private.h"
#ifdef COGL_HAS_XLIB_SUPPORT
#include <X11/Xlib.h>
#endif
typedef const CoglWinsysVtable *(*CoglCustomWinsysVtableGetter) (CoglRenderer *renderer); typedef const CoglWinsysVtable *(*CoglCustomWinsysVtableGetter) (CoglRenderer *renderer);
struct _CoglRenderer struct _CoglRenderer