[Goodies-commits] r5509 - xfce4-sensors-plugin/trunk/src

Fabian Nowak timystery at xfce.org
Sat Oct 4 03:09:21 CEST 2008


Author: timystery
Date: 2008-10-04 01:09:21 +0000 (Sat, 04 Oct 2008)
New Revision: 5509

Modified:
   xfce4-sensors-plugin/trunk/src/Makefile.am
   xfce4-sensors-plugin/trunk/src/main.c
Log:
made everything at least compile :)


Modified: xfce4-sensors-plugin/trunk/src/Makefile.am
===================================================================
--- xfce4-sensors-plugin/trunk/src/Makefile.am	2008-10-04 00:42:34 UTC (rev 5508)
+++ xfce4-sensors-plugin/trunk/src/Makefile.am	2008-10-04 01:09:21 UTC (rev 5509)
@@ -18,16 +18,18 @@
 	../panel-plugin/lmsensors.c
 
 xfce4_sensors_CFLAGS = \
-	$(GTK_CFLAGS) \
+	@GTK_CFLAGS@ \
 	@PLATFORM_CFLAGS@												\
 	-DPACKAGE_LOCALE_DIR=\"$(localedir)\"							\
+	@LIBXFCE4UTIL_CFLAGS@ \
 	@LIBSENSORS_CFLAGS@
 #	@LIBXFCE4PANEL_CFLAGS@
 
 xfce4_sensors_LDFLAGS = \
-	$(GTK_LIBS) \
+	@GTK_LIBS@ \
 	@SOLLIBS@														\
-	@LIBSENSORS_LDFLAGS@
+	@LIBSENSORS_LDFLAGS@ \
+	@LIBXFCE4UTIL_LIBS@
 #	@LIBXFCE4PANEL_LIBS@
 
 # INCLUDES =														 \

Modified: xfce4-sensors-plugin/trunk/src/main.c
===================================================================
--- xfce4-sensors-plugin/trunk/src/main.c	2008-10-04 00:42:34 UTC (rev 5508)
+++ xfce4-sensors-plugin/trunk/src/main.c	2008-10-04 01:09:21 UTC (rev 5509)
@@ -21,6 +21,8 @@
 
 #include <gtk/gtk.h>
 
+#include <libxfce4util/libxfce4util.h>
+
 #include <stdio.h>
 
 #include <string.h>
@@ -28,14 +30,14 @@
 void
 print_usage ()
 {
-    print (_("Xfce4 Sensors -- \n"
-                     "Displays information about your sensors and ACPI.\n"
-                     "Synopsis: \n"
-                     "  xfce4-sensors options\n"
-                     "where options are one or more of the following:\n"
-                     "  -h, --help Print this help dialog.\n"
-                     "\n"
-                     "This program is published under the GPL v2.\n")
+    printf (_("Xfce4 Sensors -- \n"
+                      "Displays information about your sensors and ACPI.\n"
+                      "Synopsis: \n"
+                      "  xfce4-sensors options\n"
+                      "where options are one or more of the following:\n"
+                      "  -h, --help Print this help dialog.\n"
+                      "\n"
+                      "This program is published under the GPL v2.\n")
                 );
 }
 




More information about the Goodies-commits mailing list