[Xfce4-commits] <xfce4-cpugraph-plugin:master> Remove redundant headers

Florian noreply at xfce.org
Sat Apr 17 16:16:49 CEST 2010


Updating branch refs/heads/master
         to a39f1f0d8ee016dabb4683c333b78c8dc065094e (commit)
       from 75bc87304761a3710950e12f1126c260ea0ff346 (commit)

commit a39f1f0d8ee016dabb4683c333b78c8dc065094e
Author: Florian <frivoal at gmail.com>
Date:   Wed Mar 24 10:34:05 2010 +0900

    Remove redundant headers
    
    More headers than necessary were included. Remove the extraneous ones.

 panel-plugin/cpu.c |    2 ++
 panel-plugin/cpu.h |    8 --------
 2 files changed, 2 insertions(+), 8 deletions(-)

diff --git a/panel-plugin/cpu.c b/panel-plugin/cpu.c
index 6587e5e..8ecdf22 100644
--- a/panel-plugin/cpu.c
+++ b/panel-plugin/cpu.c
@@ -3,6 +3,8 @@
 #include "mode.h"
 #include "properties.h"
 
+#include <libxfce4panel/xfce-hvbox.h>
+
 static void cpugraph_construct( XfcePanelPlugin *plugin );
 static CPUGraph *create_gui( XfcePanelPlugin *plugin );
 static void create_bars( CPUGraph *base );
diff --git a/panel-plugin/cpu.h b/panel-plugin/cpu.h
index 7eed441..12e0534 100644
--- a/panel-plugin/cpu.h
+++ b/panel-plugin/cpu.h
@@ -5,16 +5,8 @@
 #include "config.h"
 #endif
 
-#include <gtk/gtk.h>
-#include <gdk/gdk.h>
-#include <math.h>
-#include <stdio.h>
-#include <string.h>
-
-#include <libxfce4util/libxfce4util.h>
 #include <libxfcegui4/libxfcegui4.h>
 #include <libxfce4panel/xfce-panel-plugin.h>
-#include <libxfce4panel/xfce-hvbox.h>
 
 #include "os.h"
 



More information about the Xfce4-commits mailing list