[gtk/kjellahl/cairo-subproject] gdkglcontext-x11: Don't assume that cairo-xlib.h is in cairo directory



commit 0f6b91109ea7492ea82ffc1276b065b5eb6de6fe
Author: Kjell Ahlstedt <kjellahlstedt gmail com>
Date:   Tue Mar 16 09:51:40 2021 +0100

    gdkglcontext-x11: Don't assume that cairo-xlib.h is in cairo directory
    
    If cairo is a subproject, it's not necessarily installed when gtk
    is built. In the source tree, cairo's headers are not stored in
    a directory called 'cairo'.

 gdk/x11/gdkglcontext-x11.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gdk/x11/gdkglcontext-x11.c b/gdk/x11/gdkglcontext-x11.c
index d83ef6aaad..018860bae8 100644
--- a/gdk/x11/gdkglcontext-x11.c
+++ b/gdk/x11/gdkglcontext-x11.c
@@ -37,7 +37,7 @@
 
 #include "gdkintl.h"
 
-#include <cairo/cairo-xlib.h>
+#include <cairo-xlib.h>
 
 #include <epoxy/glx.h>
 


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