[gnome-games/gsoc-seed-games] Fix games_sound_play_for_widget() for canberra
- From: Tim Horton <hortont src gnome org>
- To: svn-commits-list gnome org
- Subject: [gnome-games/gsoc-seed-games] Fix games_sound_play_for_widget() for canberra
- Date: Fri, 26 Jun 2009 23:14:55 +0000 (UTC)
commit fb71cab458031a77da488aff2a13d8ba25fae925
Author: Christian Persch <chpe gnome org>
Date: Thu Jun 25 19:07:36 2009 +0200
Fix games_sound_play_for_widget() for canberra
Move misplaced break from before to after the canberra call.
libgames-support/games-sound.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/libgames-support/games-sound.c b/libgames-support/games-sound.c
index 15aed72..2b32915 100644
--- a/libgames-support/games-sound.c
+++ b/libgames-support/games-sound.c
@@ -134,12 +134,14 @@ games_sound_canberra_play (const char *sound_name,
NULL);
break;
case GAMES_SOUND_FOR_WIDGET:
- break;
rv = ca_gtk_play_for_widget (data,
0,
CA_PROP_MEDIA_NAME, sound_name,
CA_PROP_MEDIA_FILENAME, path,
NULL);
+ break;
+ default:
+ g_assert_not_reached ();
}
_games_debug_print (GAMES_DEBUG_SOUND,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]