From 2603dde466c82ed60c41f9540a68f803d3510bf5 Mon Sep 17 00:00:00 2001 From: Tomasz Sterna Date: Mon, 16 Jan 2012 01:48:40 +0100 Subject: Widget porting to GTK+ 3 with some added fixes for strict compiler checks --- hildon/hildon-sound.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'hildon/hildon-sound.c') diff --git a/hildon/hildon-sound.c b/hildon/hildon-sound.c index 1d609b3..a33dc42 100644 --- a/hildon/hildon-sound.c +++ b/hildon/hildon-sound.c @@ -93,7 +93,6 @@ hildon_ca_context_get (void) void hildon_play_system_sound(const gchar *sample) { - int ret; ca_context *ca_con = NULL; ca_proplist *pl = NULL; @@ -104,7 +103,7 @@ hildon_play_system_sound(const gchar *sample) ca_proplist_sets(pl, CA_PROP_MEDIA_ROLE, "dialog-information"); ca_proplist_sets(pl, "module-stream-restore.id", "x-maemo-system-sound"); - ret = ca_context_play_full(ca_con, 0, pl, NULL, NULL); + ca_context_play_full(ca_con, 0, pl, NULL, NULL); ca_proplist_destroy(pl); } -- cgit v1.2.3-18-g5258