[Goodies-commits] r4716 - xfburn/trunk/xfburn
David Mohr
squisher at xfce.org
Sat May 3 07:40:41 CEST 2008
Author: squisher
Date: 2008-05-03 05:40:40 +0000 (Sat, 03 May 2008)
New Revision: 4716
Modified:
xfburn/trunk/xfburn/xfburn-hal-manager.c
Log:
Bugfix: hal-manager allocation now done per object creation
Modified: xfburn/trunk/xfburn/xfburn-hal-manager.c
===================================================================
--- xfburn/trunk/xfburn/xfburn-hal-manager.c 2008-05-02 20:31:50 UTC (rev 4715)
+++ xfburn/trunk/xfburn/xfburn-hal-manager.c 2008-05-03 05:40:40 UTC (rev 4716)
@@ -223,9 +223,14 @@
xfburn_hal_manager_new ()
{
+ /*
+ * For this to work we should rather register a central halman in xfburn-main,
+ * but is the connect/disconnect to hal really expensive enough?
if (halman == NULL)
halman = XFBURN_HAL_MANAGER (g_object_new (XFBURN_TYPE_HAL_MANAGER, NULL));
return G_OBJECT (halman);
+ */
+ return g_object_new (XFBURN_TYPE_HAL_MANAGER, NULL);
}
#endif /* HAVE_HAL */
More information about the Goodies-commits
mailing list