Reuse a ca_context for playing sound instead of creating one each play.
authorJose Dapena Paz <jdapena@igalia.com>
Wed, 10 Jun 2009 11:49:23 +0000 (13:49 +0200)
committerJose Dapena Paz <jdapena@igalia.com>
Wed, 10 Jun 2009 11:52:44 +0000 (13:52 +0200)
commita51b8c5d142db46e4d6828c054eb491bf7e1bd04
treeb304e73abec4041b06955108c68418be632af12b
parentb505270f03e14ae2b48378368775271af34831bb
Reuse a ca_context for playing sound instead of creating one each play.

* src/hildon2/modest-platform.c (modest_platform_play_email_tone): instead
  of creating a new canberra context every time we play sound (and destroying
  it without making sure we have finished using it), we reuse one.
src/hildon2/modest-platform.c