/*
- * Copyright (C) 2010-2012 jeanfi@gmail.com
+ * Copyright (C) 2010-2013 jeanfi@gmail.com
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
#include "config.h"
+#include <pthread.h>
+
#include <glib/gi18n.h>
#include <gtk/gtk.h>
#include "psensor.h"
+#define PSENSOR_ICON "psensor"
+
struct ui_psensor {
struct psensor **sensors;
+ /* mutex which MUST be used for accessing sensors.*/
+ pthread_mutex_t sensors_mutex;
GtkWidget *w_graph;
GtkWidget *sensor_box;
int graph_update_interval;
-
- GMutex *sensors_mutex;
};
/*