X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fomnplay.h;h=de4e94202df1193d36f09ae892c195539a4069a3;hb=d9d86d1a5d860fbfd2213c2c3286011d4f1b3fad;hp=71db9d4852bb2a575721bf579e6113abfc70e31b;hpb=9357149b3f7d105e03c93439cced8dcd12aa9dba;p=melted_gui diff --git a/src/omnplay.h b/src/omnplay.h index 71db9d4..de4e942 100644 --- a/src/omnplay.h +++ b/src/omnplay.h @@ -20,6 +20,8 @@ #ifndef OMNPLAY_H #define OMNPLAY_H +#include + #ifdef __cplusplus extern "C" { @@ -115,7 +117,7 @@ typedef struct omnplay_player char name[PATH_MAX]; char host[PATH_MAX]; void* handle; - pthread_t thread; + GThread* thread; GtkWidget *label_status, *label_state, *label_tc_cur, *label_tc_rem, *label_clip; struct omnplay_instance *app; int playlist_start; @@ -153,8 +155,7 @@ typedef struct omnplay_instance char filename[PATH_MAX]; char whois[PATH_MAX]; pthread_mutex_t lock; - pthread_t refresh_thread; - GtkWidget *refresh_ui[2]; + GThread* refresh_thread; GtkWidget *search; } library; struct