[Goodies-commits] r3414 - xfce4-smartpm-plugin/trunk/src

Anders F Bjorklund afb at xfce.org
Sat Oct 20 12:26:31 CEST 2007


Author: afb
Date: 2007-10-20 10:26:31 +0000 (Sat, 20 Oct 2007)
New Revision: 3414

Modified:
   xfce4-smartpm-plugin/trunk/src/xfcesmart.c
Log:
simplify program_exists

Modified: xfce4-smartpm-plugin/trunk/src/xfcesmart.c
===================================================================
--- xfce4-smartpm-plugin/trunk/src/xfcesmart.c	2007-10-20 10:25:35 UTC (rev 3413)
+++ xfce4-smartpm-plugin/trunk/src/xfcesmart.c	2007-10-20 10:26:31 UTC (rev 3414)
@@ -675,7 +675,7 @@
 static gboolean
 smart_program_exists(gchar *program)
 {
-  return g_file_test(bin, G_FILE_TEST_EXISTS);
+  return g_file_test(program, G_FILE_TEST_EXISTS);
 }
 
 static void




More information about the Goodies-commits mailing list