[Goodies-commits] r5287 - in xfburn/trunk: . xfburn

David Mohr squisher at xfce.org
Fri Aug 22 07:34:26 CEST 2008


Author: squisher
Date: 2008-08-22 05:34:26 +0000 (Fri, 22 Aug 2008)
New Revision: 5287

Modified:
   xfburn/trunk/README
   xfburn/trunk/xfburn/xfburn-device-box.c
   xfburn/trunk/xfburn/xfburn-main.c
Log:
Fixing compilation without hal

Modified: xfburn/trunk/README
===================================================================
--- xfburn/trunk/README	2008-08-22 05:28:00 UTC (rev 5286)
+++ xfburn/trunk/README	2008-08-22 05:34:26 UTC (rev 5287)
@@ -40,8 +40,10 @@
                unmounting)
 
 The author works with both hal and thunar-vfs enabled, so there might be the
-occasional bug that breaks compilation without these components.  Please
-report a bug, and it will get fixed.
+occasional bug that breaks compilation without these components. Xfburn should
+work without these optional components, but it is not well tested at all.
+Should something not compile or work as expected, please report a bug, and it
+will get fixed.
 
 ==============================================================================
 Future Plans

Modified: xfburn/trunk/xfburn/xfburn-device-box.c
===================================================================
--- xfburn/trunk/xfburn/xfburn-device-box.c	2008-08-22 05:28:00 UTC (rev 5286)
+++ xfburn/trunk/xfburn/xfburn-device-box.c	2008-08-22 05:34:26 UTC (rev 5287)
@@ -337,7 +337,9 @@
 static void
 xfburn_device_box_finalize (GObject * object)
 {
+#ifdef HAVE_HAL
   XfburnDeviceBoxPrivate *priv = XFBURN_DEVICE_BOX_GET_PRIVATE (object);
+#endif
 
 #ifdef HAVE_THUNAR_VFS
   //g_object_unref (priv->thunar_volman);

Modified: xfburn/trunk/xfburn/xfburn-main.c
===================================================================
--- xfburn/trunk/xfburn/xfburn-main.c	2008-08-22 05:28:00 UTC (rev 5286)
+++ xfburn/trunk/xfburn/xfburn-main.c	2008-08-22 05:34:26 UTC (rev 5287)
@@ -136,7 +136,9 @@
   GtkWidget *mainwin;
   gint n_drives;
   GError *error = NULL;
+#ifdef HAVE_HAL
   gchar *error_msg;
+#endif
 
 #if DEBUG > 0
   g_log_set_always_fatal (G_LOG_LEVEL_CRITICAL);




More information about the Goodies-commits mailing list