Files
Duncan McIntosh 39b74afdac Bug 2046568 - Part 2: Remove DBusHelpers.h. r=emilio
I suspect these were left over from a previous libdbus(-glib?)
implementation.

Additionally, this moves away from using libdbus via dlsym to using
GLib/GIO directly for two functions:

  dbus_validate_bus_name  -> g_dbus_is_name
  dbus_validate_path      -> g_variant_is_object_path
    (...odd name, I guess you have to put it somewhere?)

Had to keep the <dbus/dbus.h> include unfortunately for the
DBUS_MAXIMUM_NAME_LENGTH define. It should always be 255, so I guess we
could define it somewhere, but this was slightly easier. The whole
truncation thing seems really sketchy too, it was added in bug 1418770
but I'd rather not touch it right now.

Differential Revision: https://phabricator.services.mozilla.com/D305983
2026-06-12 23:35:10 +00:00
..