wayland: fix DBUS_FUNC
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good
This commit is contained in:
parent
dc97522bb0
commit
9087782960
1 changed files with 3 additions and 2 deletions
|
|
@ -248,8 +248,9 @@ MwInline int wayland_load_funcs() {
|
|||
|
||||
#define DBUS_FUNC(x) \
|
||||
wl_call_tbl.x = MwDynamicSymbol(wl_call_tbl.dbus_lib, #x); \
|
||||
if(!x) { \
|
||||
fprintf(stderr, "[WARNING] Will not be able to detect dark theme: dbus function %s (libdbus-1.so) not found.\n", #x); \
|
||||
if(!wl_call_tbl.x) { \
|
||||
fprintf(stderr, "[WARNING] Will not be able to detect dark theme: dbus function %s not found.\n", #x); \
|
||||
dlclose(wl_call_tbl.dbus_lib); \
|
||||
return 0; \
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue