summaryrefslogtreecommitdiff
blob: 84b14821dab66f6062b61dab0d1060cbff97b477 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
diff -x '*~' -uNr sound-juicer-0.5.15/src/cd-drive.c sound-juicer-0.5.15.patched/src/cd-drive.c
--- sound-juicer-0.5.15/src/cd-drive.c	2004-11-23 14:54:52.000000000 +0100
+++ sound-juicer-0.5.15.patched/src/cd-drive.c	2004-12-13 15:15:28.552252416 +0100
@@ -89,17 +89,9 @@
 get_hal_context (void)
 {
 	static LibHalContext *ctx = NULL;
-	LibHalFunctions hal_functions = {
-		NULL, /* mainloop integration */
-		NULL, /* device_added */
-		NULL, /* device_removed */
-		NULL, /* device_new_capability */
-		NULL, /* property_modified */
-		NULL, /* device_condition */
-	};
 	
 	if (ctx == NULL)
-		ctx = hal_initialize (&hal_functions, FALSE);
+		ctx = hal_initialize (NULL, FALSE);
 
 	return ctx;
 }