[Xfce4-commits] <xfce4-cpugraph-plugin:master> Remove obsolete comment

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


Updating branch refs/heads/master
         to f6641133b27392cd644610534966ad4549e1a40d (commit)
       from 70336427529cc96409e302d36f75c7f1bf1539f5 (commit)

commit f6641133b27392cd644610534966ad4549e1a40d
Author: Florian Rivoal <frivoal at gmail.com>
Date:   Tue Feb 9 10:03:03 2010 +0900

    Remove obsolete comment
    
    Drawing modes used to be numbered, and needed a comment to explain what
    they are. Now that they are named, the comment is superfluous.

 panel-plugin/mode.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/panel-plugin/mode.c b/panel-plugin/mode.c
index 7a1a884..884778b 100644
--- a/panel-plugin/mode.c
+++ b/panel-plugin/mode.c
@@ -37,7 +37,6 @@ static void MixAndApplyColors( double ratio, GdkColor *color1, GdkColor *color2,
 	gdk_gc_set_rgb_fg_color( target, &color );
 }
 
-/*** MODE 0 : Normal ***/
 void drawGraphModeNormal( CPUGraph *base, GdkGC *fg1, GtkWidget *da, int w, int h )
 {
 	int x, y;
@@ -89,8 +88,6 @@ void drawGraphModeNormal( CPUGraph *base, GdkGC *fg1, GtkWidget *da, int w, int
 	}
 }
 
-
-/*** MODE 1 : LED ***/
 void drawGraphModeLED( CPUGraph *base, GdkGC *fg1, GdkGC *fg2, GtkWidget *da, int w, int h )
 {
 	int nrx = (int)((w + 1) / 3.0);
@@ -124,7 +121,6 @@ void drawGraphModeLED( CPUGraph *base, GdkGC *fg1, GdkGC *fg2, GtkWidget *da, in
 	}
 }
 
-/*** MODE 2 : NoHistory ***/
 void drawGraphModeNoHistory( CPUGraph *base, GdkGC *fg1, GdkGC *fg2, GtkWidget *da, int w, int h )
 {
 	int y;



More information about the Xfce4-commits mailing list