Index: xfce4-cpugraph-plugin-0.4.0/panel-plugin/cpu.c =================================================================== --- xfce4-cpugraph-plugin-0.4.0/panel-plugin/cpu.c.orig +++ xfce4-cpugraph-plugin-0.4.0/panel-plugin/cpu.c @@ -27,6 +27,7 @@ #include "settings.h" #include "cpu_os.h" +#include static GtkTooltips *tooltips = NULL; @@ -91,7 +92,7 @@ Kill (XfcePanelPlugin * plugin, CPUGraph CPUGraph * CreateControl (XfcePanelPlugin * plugin) { - GtkWidget *frame, *ebox; + GtkWidget *frame = NULL, *ebox; GtkOrientation orientation; GtkProgressBarOrientation barOrientation; CPUGraph *base = g_new0 (CPUGraph, 1); @@ -579,7 +580,7 @@ LaunchCommand(GtkWidget *w,GdkEventButto if(event->button == 1){ 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);