[libmanette] monitor: Fix udev_client_uevent_cb()



commit e86fd2a863d8a3a30ae0c873f22e5ecfdeca6a99
Author: vanadiae <vanadiae35 gmail com>
Date:   Wed Oct 14 20:21:04 2020 +0200

    monitor: Fix udev_client_uevent_cb()
    
    I accidentally didn't test with udev when refactoring a MR and messed up
    that function.

 src/manette-monitor.c | 4 ----
 1 file changed, 4 deletions(-)
---
diff --git a/src/manette-monitor.c b/src/manette-monitor.c
index 9ec873f..29ec428 100644
--- a/src/manette-monitor.c
+++ b/src/manette-monitor.c
@@ -196,10 +196,6 @@ udev_client_uevent_cb (GUdevClient    *sender,
                        GUdevDevice    *udev_device,
                        ManetteMonitor *self)
 {
-  ManetteMonitor *self;
-
-  self = MANETTE_MONITOR (data);
-
   g_return_if_fail (self != NULL);
   g_return_if_fail (action != NULL);
   g_return_if_fail (udev_device != NULL);


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