[Goodies-commits] r3729 - xfce4-sensors-plugin/trunk/panel-plugin
Fabian Nowak
timystery at xfce.org
Tue Dec 18 23:28:46 CET 2007
Author: timystery
Date: 2007-12-18 22:28:46 +0000 (Tue, 18 Dec 2007)
New Revision: 3729
Modified:
xfce4-sensors-plugin/trunk/panel-plugin/Makefile.am
xfce4-sensors-plugin/trunk/panel-plugin/lmsensors.h
xfce4-sensors-plugin/trunk/panel-plugin/middlelayer.c
Log:
fixed helpful log messages from enrico
Modified: xfce4-sensors-plugin/trunk/panel-plugin/Makefile.am
===================================================================
--- xfce4-sensors-plugin/trunk/panel-plugin/Makefile.am 2007-12-18 21:41:23 UTC (rev 3728)
+++ xfce4-sensors-plugin/trunk/panel-plugin/Makefile.am 2007-12-18 22:28:46 UTC (rev 3729)
@@ -67,5 +67,5 @@
# get full path into .desktop file
%.desktop.in: %.desktop.in.in
sed -e "s^@PLUGIN_PATH@^$(libexecdir)/xfce4/panel-plugins^" \
- $< > $@
+ $< > $@
Modified: xfce4-sensors-plugin/trunk/panel-plugin/lmsensors.h
===================================================================
--- xfce4-sensors-plugin/trunk/panel-plugin/lmsensors.h 2007-12-18 21:41:23 UTC (rev 3728)
+++ xfce4-sensors-plugin/trunk/panel-plugin/lmsensors.h 2007-12-18 22:28:46 UTC (rev 3729)
@@ -1,8 +1,14 @@
#ifndef XFCE4_SENSORS_LMSENSORS_H
#define XFCE4_SENSORS_LMSENSORS_H
+#ifdef HAVE_CONFIG_H
+ #include "config.h"
+#endif
+
#include <glib/garray.h>
+#include <sensors/sensors.h>
+
#include "types.h"
/*
@@ -36,9 +42,4 @@
*/
void free_lmsensors_chip (gpointer chip);
-
-void
-categorize_lmsensors_type (t_chipfeature *chipfeature,
- sensors_feature *feature);
-
#endif /* XFCE4_SENSORS_LMSENSORS_H */
Modified: xfce4-sensors-plugin/trunk/panel-plugin/middlelayer.c
===================================================================
--- xfce4-sensors-plugin/trunk/panel-plugin/middlelayer.c 2007-12-18 21:41:23 UTC (rev 3728)
+++ xfce4-sensors-plugin/trunk/panel-plugin/middlelayer.c 2007-12-18 22:28:46 UTC (rev 3729)
@@ -220,9 +220,11 @@
g_free (c->sensorId);
g_free (c->description);
+ #ifdef HAVE_LIBSENSORS
if (c->type==LMSENSOR) {
free_lmsensors_chip (chip);
}
+ #endif
/* g_free (c->chip_name); */ /* is a _copied_ structure of libsensors */
g_ptr_array_foreach (c->chip_features, free_chipfeature, NULL);
g_ptr_array_free (c->chip_features, TRUE);
More information about the Goodies-commits
mailing list