From a6b15fd9042fa339853104ea6307889cae7323b7 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Orsini Date: Sat, 26 Apr 2014 13:21:44 +0200 Subject: [PATCH] removed useless empty line fixed .h includes --- src/ui_unity.c | 3 +-- src/ui_unity.h | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) 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, -- 2.7.4