From: Jean-Philippe Orsini Date: Sat, 26 Apr 2014 11:21:44 +0000 (+0200) Subject: removed useless empty line X-Git-Tag: v1.0.1~27 X-Git-Url: https://git.wpitchoune.net/gitweb/?p=psensor.git;a=commitdiff_plain;h=a6b15fd9042fa339853104ea6307889cae7323b7 removed useless empty line fixed .h includes --- diff --git a/src/ui_unity.c b/src/ui_unity.c index adeacc0..046fa6c 100644 --- a/src/ui_unity.c +++ b/src/ui_unity.c @@ -18,7 +18,7 @@ */ #include -#include "psensor.h" +#include static int initialized; static UnityLauncherEntry *psensor_entry; @@ -30,7 +30,6 @@ void ui_unity_launcher_entry_update(struct psensor **sensors, { double v; - if (!initialized) { psensor_entry = unity_launcher_entry_get_for_desktop_file ("psensor.desktop"); diff --git a/src/ui_unity.h b/src/ui_unity.h index 15045e8..2fb7c90 100644 --- a/src/ui_unity.h +++ b/src/ui_unity.h @@ -19,7 +19,7 @@ #ifndef _PSENSOR_UI_UNITY_H_ #define _PSENSOR_UI_UNITY_H_ -#include "psensor.h" +#include void ui_unity_launcher_entry_update(struct psensor **sensors, unsigned int show,