diff options
author | Tomasz Sterna <tomek@xiaoka.com> | 2012-01-16 01:48:40 +0100 |
---|---|---|
committer | Tomasz Sterna <tomek@xiaoka.com> | 2012-05-30 23:10:21 +0300 |
commit | 2603dde466c82ed60c41f9540a68f803d3510bf5 (patch) | |
tree | 3b018bcddbf6495b391a6fa324ff38c5eb8a8ea5 /hildon/hildon-sound.c | |
parent | 66b5569ee4af3c6044c8e94b749fe8f22659a24a (diff) |
Widget porting to GTK+ 3
with some added fixes for strict compiler checks
Diffstat (limited to 'hildon/hildon-sound.c')
-rw-r--r-- | hildon/hildon-sound.c | 3 |
1 files changed, 1 insertions, 2 deletions
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); } |