mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-22 21:05:58 +01:00
Remove __PRETTY_FUNCTION__
This is pointlessly non-portable and completely equivilent to __func__ in C.
This commit is contained in:
parent
f10da8291b
commit
48fa59c22e
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ static void wlr_x11_window_destroy(struct wlr_x11_window *window) {
|
||||||
}
|
}
|
||||||
|
|
||||||
/* xcb helpers */
|
/* 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,
|
static bool xcb_call(struct wlr_xwm *xwm, const char *func, uint32_t line,
|
||||||
xcb_void_cookie_t cookie) {
|
xcb_void_cookie_t cookie) {
|
||||||
xcb_generic_error_t *error;
|
xcb_generic_error_t *error;
|
||||||
|
|
Loading…
Reference in a new issue