[Xfce4-commits] r29175 - xfce4-mixer/branches/xfce_4_4/lib

Danny Milosavljevic dannym at xfce.org
Sun Jan 11 20:49:01 CET 2009


Author: dannym
Date: 2009-01-11 19:49:01 +0000 (Sun, 11 Jan 2009)
New Revision: 29175

Modified:
   xfce4-mixer/branches/xfce_4_4/lib/vc_alsa.c
Log:
remove callback before closing device, just in case.

Modified: xfce4-mixer/branches/xfce_4_4/lib/vc_alsa.c
===================================================================
--- xfce4-mixer/branches/xfce_4_4/lib/vc_alsa.c	2009-01-11 19:46:39 UTC (rev 29174)
+++ xfce4-mixer/branches/xfce_4_4/lib/vc_alsa.c	2009-01-11 19:49:01 UTC (rev 29175)
@@ -547,6 +547,9 @@
 		return;
 	}
 	
+	snd_mixer_set_callback_private (handle, NULL);
+	snd_mixer_set_callback (handle, NULL);
+	
 	snd_mixer_close (handle); /* FIXME does this close all related stuff? */
 	handle = NULL;
 }




More information about the Xfce4-commits mailing list