aboutsummaryrefslogtreecommitdiff
path: root/xwayland/xwm.c
diff options
context:
space:
mode:
authorScott Anderson <ascent12@hotmail.com>2017-08-26 22:43:42 +1200
committerScott Anderson <ascent12@hotmail.com>2017-08-26 22:43:42 +1200
commit48fa59c22e0b49bc347006738cc5dda9c6d13821 (patch)
tree2fa5bf4bc01aa451e622a31a946e3f4e3e528ce7 /xwayland/xwm.c
parentf10da8291b3f0d51b55262bd623511c8b8349a9e (diff)
Remove __PRETTY_FUNCTION__
This is pointlessly non-portable and completely equivilent to __func__ in C.
Diffstat (limited to 'xwayland/xwm.c')
-rw-r--r--xwayland/xwm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xwayland/xwm.c b/xwayland/xwm.c
index 3fa6cb98..94870a5a 100644
--- a/xwayland/xwm.c
+++ b/xwayland/xwm.c
@@ -52,7 +52,7 @@ static void wlr_x11_window_destroy(struct wlr_x11_window *window) {
}
/* xcb helpers */
-#define XCB_CALL(xwm, x) xcb_call(xwm, __PRETTY_FUNCTION__, __LINE__, x)
+#define XCB_CALL(xwm, x) xcb_call(xwm, __func__, __LINE__, x)
static bool xcb_call(struct wlr_xwm *xwm, const char *func, uint32_t line,
xcb_void_cookie_t cookie) {
xcb_generic_error_t *error;