[gcompris/gcomprixogoo] Added an explicit sound_close when we exit.



commit dbb96916ab763e8abb239b08fcaad0d74612e274
Author: Bruno Coudoin <bruno coudoin free fr>
Date:   Sat Oct 23 16:42:45 2010 +0200

    Added an explicit sound_close when we exit.
    
    The patch comes from debian.

 src/gcompris/gcompris.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/gcompris/gcompris.c b/src/gcompris/gcompris.c
index 6b28c13..7684c97 100644
--- a/src/gcompris/gcompris.c
+++ b/src/gcompris/gcompris.c
@@ -1181,6 +1181,7 @@ static void quit_cb (GtkWidget *widget, gpointer data)
 #endif
   cleanup();
   gtk_main_quit();
+  gc_sound_close();
 
   /*
    * Very important or GCompris crashes on exit when closed from the dialog



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]