From 6a83ef58a1032e3b336587e2f3a19659ae325c25 Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Sat, 3 Sep 2011 02:07:09 +0200 Subject: Remove gthread dependency and use pthreads instead --- src/notification_proxy.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/notification_proxy.h') diff --git a/src/notification_proxy.h b/src/notification_proxy.h index 8d5cd24..4a9cdad 100644 --- a/src/notification_proxy.h +++ b/src/notification_proxy.h @@ -21,17 +21,17 @@ #ifndef INOTIFICATION_PROXY_H #define INOTIFICATION_PROXY_H -#include +#include #include "libimobiledevice/notification_proxy.h" #include "property_list_service.h" struct np_client_private { property_list_service_client_t parent; - GMutex *mutex; - GThread *notifier; + pthread_mutex_t mutex; + pthread_t notifier; }; -gpointer np_notifier(gpointer arg); +void* np_notifier(void* arg); #endif -- cgit v1.1-32-gdbae