[gnome-bluetooth/wip/hadess/lib-changes] lib: Rename bluetooth_device_dump_device()



commit daeedb298d7dc191b064f52e0f405e48378ab15f
Author: Bastien Nocera <hadess hadess net>
Date:   Thu Nov 25 10:51:32 2021 +0100

    lib: Rename bluetooth_device_dump_device()
    
    No need to have "device" twice in the function name.

 lib/bluetooth-device.c  | 2 +-
 lib/bluetooth-device.h  | 2 +-
 lib/gnome-bluetooth.map | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/lib/bluetooth-device.c b/lib/bluetooth-device.c
index e3aeb29c..cb18de19 100644
--- a/lib/bluetooth-device.c
+++ b/lib/bluetooth-device.c
@@ -220,7 +220,7 @@ bluetooth_device_get_object_path (BluetoothDevice *device)
 #define BOOL_STR(x) (x ? "True" : "False")
 
 void
-bluetooth_device_dump_device (BluetoothDevice *device)
+bluetooth_device_dump (BluetoothDevice *device)
 {
        g_return_if_fail (BLUETOOTH_IS_DEVICE (device));
 
diff --git a/lib/bluetooth-device.h b/lib/bluetooth-device.h
index 46408a44..48a86ecc 100644
--- a/lib/bluetooth-device.h
+++ b/lib/bluetooth-device.h
@@ -14,4 +14,4 @@
 G_DECLARE_FINAL_TYPE (BluetoothDevice, bluetooth_device, BLUETOOTH, DEVICE, GObject)
 
 const char *bluetooth_device_get_object_path (BluetoothDevice *device);
-void bluetooth_device_dump_device (BluetoothDevice *device);
+void bluetooth_device_dump (BluetoothDevice *device);
diff --git a/lib/gnome-bluetooth.map b/lib/gnome-bluetooth.map
index 4bd8baf0..881e623c 100644
--- a/lib/gnome-bluetooth.map
+++ b/lib/gnome-bluetooth.map
@@ -22,7 +22,7 @@ global:
   bluetooth_type_get_type;
   bluetooth_status_get_type;
   bluetooth_device_get_type;
-  bluetooth_device_dump_device;
+  bluetooth_device_dump;
   bluetooth_device_get_object_path;
   bluetooth_agent_get_type;
   bluetooth_agent_error_get_type;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]