[at-spi2-core: 2/9] Fix function prototype




commit 1e91fc4cff2080696be914e26f4cdf0bf32d1550
Author: Federico Mena Quintero <federico gnome org>
Date:   Tue Nov 23 11:18:51 2021 -0600

    Fix function prototype
    
    device_remove_datum already implicitly casts its cb to a
    AtspiDeviceListenerSimpleCB, which takes a const *event.

 atspi/atspi-device-listener.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/atspi/atspi-device-listener.c b/atspi/atspi-device-listener.c
index 69f77d1d..9776ebdd 100644
--- a/atspi/atspi-device-listener.c
+++ b/atspi/atspi-device-listener.c
@@ -53,7 +53,7 @@ device_event_handler_new (AtspiDeviceListenerCB callback,
 }
 
 static gboolean
-device_remove_datum (const AtspiDeviceEvent *event, void *user_data)
+device_remove_datum (AtspiDeviceEvent *event, void *user_data)
 {
   AtspiDeviceListenerSimpleCB cb = user_data;
   return cb (event);


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