Commit Graph

11 Commits

Author SHA1 Message Date
Robbert van der Helm 7ddd20b6d5 Remove some assertions from D-Bus notifications 2022-11-02 18:40:17 +01:00
Robbert van der Helm bc12687906 Undefine LIBDBUS_FUNCTIONS at the end of .cpp file
To avoid leaking macros.
2022-11-02 18:40:17 +01:00
Robbert van der Helm c80464da9e Swap dbus library name and fallback name 2022-10-28 20:48:56 +02:00
Robbert van der Helm 31e76f416c Also specifically try loading libdbus-1.so.3 2022-10-28 20:44:47 +02:00
Robbert van der Helm c36627f4c2 Remove todo about using replaces_id 2022-10-28 19:50:43 +02:00
Robbert van der Helm af0f38c00b Drop notify-send and use libdbus-1 directly
This is mostly useful for more obscure distros that don't ship
notify-send together with libnotify.
2022-10-28 19:45:59 +02:00
Robbert van der Helm b58eca9ed1 Move XMML and URL escape functions to common/utils
So we don't need to include notifications.h on the Wine side. The
alternative would be to put ifdef guards around everything involving
notification sending in `notifications.cpp` but that would be even more
problematic.
2022-10-28 17:52:23 +02:00
Robbert van der Helm 91832e5c0f Fix dlsym check 2022-10-28 17:34:05 +02:00
Robbert van der Helm 40cff87fb5 Add missing include 2022-10-28 17:33:43 +02:00
Robbert van der Helm d1b3de5fc0 Connect to the session message bus using libdbus-1
This is the first step of migrating the desktop notifications over to
pure DBus.
2022-10-28 16:46:53 +02:00
Robbert van der Helm 46af07748b Move desktop notifications to its own header
We'll need to use this from the chainloader.
2022-04-16 20:37:10 +02:00