hal/hald hald.c,1.5,1.6

Joe Shaw joe at pdx.freedesktop.org
Tue Apr 27 12:05:28 PDT 2004


Update of /cvs/hal/hal/hald
In directory pdx:/tmp/cvs-serv29919/hald

Modified Files:
	hald.c 
Log Message:
2004-04-27  Joe Shaw  <joe at ximian.com>

	* doc/TODO: Remove a now completed TODO item.

	* hald/hald.c (gdl_store_changed): Don't call hal_callout_device()
	in the removed case.

	* hald/linux/osspec.c (remove_callouts_finished): Actually remove
	the device from the GDL in this callback.
	(remove_device, remove_class_device): Connect to the
	callouts_finished signal and call device callouts instead of
	removing it from the GDL here.

Index: hald.c
===================================================================
RCS file: /cvs/hal/hal/hald/hald.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- a/hald.c	26 Apr 2004 20:08:58 -0000	1.5
+++ b/hald.c	27 Apr 2004 19:05:26 -0000	1.6
@@ -73,12 +73,10 @@
 
 	/*hal_device_print (device);*/
 
-	if (is_added) {
+	if (is_added)
 		manager_send_signal_device_added (device);
-	} else {
+	else
 		manager_send_signal_device_removed (device);
-		hal_callout_device (device, FALSE);
-	}
 }
 
 static void





More information about the hal-commit mailing list