[gcompris/gcomprixogoo] Removed a useless warning that in fact had a bad pointer reference.
- From: Bruno Coudoin <bcoudoin src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gcompris/gcomprixogoo] Removed a useless warning that in fact had a bad pointer reference.
- Date: Wed, 10 Feb 2010 22:41:52 +0000 (UTC)
commit 391184ddb8e84230ff66de0c176b3f85c14922b5
Author: Bruno Coudoin <bruno coudoin free fr>
Date: Wed Feb 10 23:41:12 2010 +0100
Removed a useless warning that in fact had a bad pointer reference.
src/gcompris/soundutil_sdl.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/src/gcompris/soundutil_sdl.c b/src/gcompris/soundutil_sdl.c
index a74933f..dadc37a 100644
--- a/src/gcompris/soundutil_sdl.c
+++ b/src/gcompris/soundutil_sdl.c
@@ -353,8 +353,9 @@ gc_sound_instance_init (GTypeInstance *instance,
static void
default_sound_played_signal_handler (GcomprisSound *obj, gchar *file, gpointer user_data)
{
- /* Here, we trigger the real file write. */
- g_warning ("sound_played: %s\n", file);
+ // Warning file is no more valid here.
+ // it as been deleted by gc_sound_callback(file) that
+ // happens before we get there.
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]