#ifndef OMNPLAY_H
#define OMNPLAY_H
+#include <pthread.h>
+
#ifdef __cplusplus
extern "C"
{
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;
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