@@ -49,8 +49,8 @@ auto getBoolProperty(GDBusProxy* proxy, const char* property_name) -> bool {
4949 return false ;
5050}
5151
52- auto getOptionalStringProperty (GDBusProxy* proxy,
53- const char * property_name) -> std::optional<std::string> {
52+ auto getOptionalStringProperty (GDBusProxy* proxy, const char * property_name)
53+ -> std::optional<std::string> {
5454 auto gvar = g_dbus_proxy_get_cached_property (proxy, property_name);
5555 if (gvar) {
5656 std::string property_value = g_variant_get_string (gvar, NULL );
@@ -345,8 +345,8 @@ auto waybar::modules::Bluetooth::onInterfaceAddedOrRemoved(GDBusObjectManager* m
345345
346346auto waybar::modules::Bluetooth::onInterfaceProxyPropertiesChanged (
347347 GDBusObjectManagerClient* manager, GDBusObjectProxy* object_proxy, GDBusProxy* interface_proxy,
348- GVariant* changed_properties, const gchar* const * invalidated_properties,
349- gpointer user_data) -> void {
348+ GVariant* changed_properties, const gchar* const * invalidated_properties, gpointer user_data)
349+ -> void {
350350 std::string interface_name = g_dbus_proxy_get_interface_name (interface_proxy);
351351 std::string object_path = g_dbus_object_get_object_path (G_DBUS_OBJECT (object_proxy));
352352
@@ -395,8 +395,8 @@ auto waybar::modules::Bluetooth::getDeviceBatteryPercentage(GDBusObject* object)
395395 return std::nullopt ;
396396}
397397
398- auto waybar::modules::Bluetooth::getDeviceProperties (GDBusObject* object,
399- DeviceInfo& device_info) -> bool {
398+ auto waybar::modules::Bluetooth::getDeviceProperties (GDBusObject* object, DeviceInfo& device_info)
399+ -> bool {
400400 GDBusProxy* proxy_device = G_DBUS_PROXY (g_dbus_object_get_interface (object, " org.bluez.Device1" ));
401401
402402 if (proxy_device != NULL ) {
@@ -462,8 +462,9 @@ auto waybar::modules::Bluetooth::findCurController() -> std::optional<Controller
462462 return controller_info;
463463}
464464
465- auto waybar::modules::Bluetooth::findConnectedDevices (
466- const std::string& cur_controller_path, std::vector<DeviceInfo>& connected_devices) -> void {
465+ auto waybar::modules::Bluetooth::findConnectedDevices (const std::string& cur_controller_path,
466+ std::vector<DeviceInfo>& connected_devices)
467+ -> void {
467468 GList* objects = g_dbus_object_manager_get_objects (manager_.get ());
468469 for (GList* l = objects; l != NULL ; l = l->next ) {
469470 GDBusObject* object = G_DBUS_OBJECT (l->data );
0 commit comments