[Xfce4-commits] <xfce4-cpugraph-plugin:master> Add missing return value

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


Updating branch refs/heads/master
         to 8432c0feedb6990942b200fa93f235666ec55882 (commit)
       from 9393bdb00aa1c174e29fc8ff49b0963a2052077e (commit)

commit 8432c0feedb6990942b200fa93f235666ec55882
Author: Florian Rivoal <frivoal at gmail.com>
Date:   Sun Mar 7 21:08:32 2010 +0900

    Add missing return value
    
    Fix the last remaining of the problems described in bug 2690. The
    others have already been taken care of.

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

diff --git a/panel-plugin/cpu.c b/panel-plugin/cpu.c
index eed5c8f..bdb8027 100644
--- a/panel-plugin/cpu.c
+++ b/panel-plugin/cpu.c
@@ -230,7 +230,7 @@ gboolean LaunchCommand( GtkWidget*w,GdkEventButton *event, CPUGraph *base )
 		GString *cmd;
 		if( strlen(base->m_AssociateCommand) == 0 )
 		{
-			return;
+			return FALSE;
 		}
 		cmd = g_string_new( base->m_AssociateCommand );
 		xfce_exec( cmd->str, FALSE, FALSE, NULL );



More information about the Xfce4-commits mailing list