summaryrefslogtreecommitdiffstats
path: root/src/usb-device-manager.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/usb-device-manager.c')
-rw-r--r--src/usb-device-manager.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/usb-device-manager.c b/src/usb-device-manager.c
index 1b9a227..417c5b2 100644
--- a/src/usb-device-manager.c
+++ b/src/usb-device-manager.c
@@ -23,8 +23,6 @@
#include <glib-object.h>
-#include "glib-compat.h"
-
#ifdef USE_USBREDIR
#include <errno.h>
#include <libusb.h>
@@ -1234,14 +1232,9 @@ gboolean spice_usb_device_manager_start_event_listening(
priv->event_thread = NULL;
}
priv->event_thread_run = TRUE;
-#if GLIB_CHECK_VERSION(2,31,19)
priv->event_thread = g_thread_new("usb_ev_thread",
spice_usb_device_manager_usb_ev_thread,
self);
-#else
- priv->event_thread = g_thread_create(spice_usb_device_manager_usb_ev_thread,
- self, TRUE, err);
-#endif
return priv->event_thread != NULL;
}