Diff between dc920afdf5a9ee58181d094f96def64f15b65207 and af4519a50cb8fc0be3398089aa3a85904453de1d

Changed Files

File Additions Deletions Status
gdbus/mainloop.c +0 -3 modified

Full Patch

diff --git a/gdbus/mainloop.c b/gdbus/mainloop.c
index 8eef240..8718da0 100644
--- a/gdbus/mainloop.c
+++ b/gdbus/mainloop.c
@@ -230,9 +230,6 @@ static dbus_bool_t add_timeout(DBusTimeout *timeout, void *data)
 
 static void remove_timeout(DBusTimeout *timeout, void *data)
 {
-	if (dbus_timeout_get_enabled(timeout))
-		return;
-
 	/* will trigger timeout_handler_free() */
 	dbus_timeout_set_data(timeout, NULL, NULL);
 }