diff options
author | Issam E. Maghni <issam.e.maghni@mailbox.org> | 2021-05-07 16:57:51 -0400 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2021-05-10 10:28:32 +0200 |
commit | d45623c2db570b7a2e0582943734d18f3d64b126 (patch) | |
tree | 6ecb1ad308bb31c00f71213207fe2a8725217d44 /swaybar | |
parent | 009c58fc9529e284569bf58b73964cb3dc7c5baf (diff) |
cairo: Replace <cairo/cairo.h> by <cairo.h>
For full context, read
https://gitlab.freedesktop.org/cairo/cairo/-/issues/479
TL;DR, cairo’s pc file adds `/cairo` to CFLAGS.
So namespace cairo shouldn’t be used.
Diffstat (limited to 'swaybar')
-rw-r--r-- | swaybar/render.c | 2 | ||||
-rw-r--r-- | swaybar/tray/item.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/swaybar/render.c b/swaybar/render.c index ebe127a5..fcc8be1d 100644 --- a/swaybar/render.c +++ b/swaybar/render.c @@ -5,7 +5,7 @@ #include <stdlib.h> #include <stdint.h> #include <string.h> -#include "cairo.h" +#include "cairo_util.h" #include "pango.h" #include "pool-buffer.h" #include "swaybar/bar.h" diff --git a/swaybar/tray/item.c b/swaybar/tray/item.c index c9da51d4..19f4beac 100644 --- a/swaybar/tray/item.c +++ b/swaybar/tray/item.c @@ -13,7 +13,7 @@ #include "swaybar/tray/item.h" #include "swaybar/tray/tray.h" #include "background-image.h" -#include "cairo.h" +#include "cairo_util.h" #include "list.h" #include "log.h" #include "wlr-layer-shell-unstable-v1-client-protocol.h" |