diff options
author | xclaesse <xclaesse@4ee84921-47dd-4033-b63a-18d7a039a3e4> | 2009-01-07 00:48:49 +0800 |
---|---|---|
committer | xclaesse <xclaesse@4ee84921-47dd-4033-b63a-18d7a039a3e4> | 2009-01-07 00:48:49 +0800 |
commit | 08bf3e70e647718f9768f0566aa8e950378ea005 (patch) | |
tree | 98290f786ba1bbfbf183e663051b5c4002163f87 /libempathy-gtk/empathy-ui-utils.h | |
parent | 6dac1f16245c458edb2eea4ff986b457b930f3dd (diff) | |
download | gsoc2013-empathy-08bf3e70e647718f9768f0566aa8e950378ea005.tar gsoc2013-empathy-08bf3e70e647718f9768f0566aa8e950378ea005.tar.gz gsoc2013-empathy-08bf3e70e647718f9768f0566aa8e950378ea005.tar.bz2 gsoc2013-empathy-08bf3e70e647718f9768f0566aa8e950378ea005.tar.lz gsoc2013-empathy-08bf3e70e647718f9768f0566aa8e950378ea005.tar.xz gsoc2013-empathy-08bf3e70e647718f9768f0566aa8e950378ea005.tar.zst gsoc2013-empathy-08bf3e70e647718f9768f0566aa8e950378ea005.zip |
Turn empathy_sound_pref_is_enabled into empathy_sound_play that
automatically plays the sound if the pref is enabled.
git-svn-id: svn+ssh://svn.gnome.org/svn/empathy/trunk@2078 4ee84921-47dd-4033-b63a-18d7a039a3e4
Diffstat (limited to 'libempathy-gtk/empathy-ui-utils.h')
-rw-r--r-- | libempathy-gtk/empathy-ui-utils.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libempathy-gtk/empathy-ui-utils.h b/libempathy-gtk/empathy-ui-utils.h index 7c97f0943..285b66452 100644 --- a/libempathy-gtk/empathy-ui-utils.h +++ b/libempathy-gtk/empathy-ui-utils.h @@ -114,7 +114,11 @@ GtkWidget * empathy_link_button_new (const gchar *url, void empathy_send_file_with_file_chooser (EmpathyContact *contact); -gboolean empathy_sound_pref_is_enabled (const char *key); +/* Sounds */ +void empathy_sound_play (GtkWidget *widget, + const char *key, + const char *event_id, + const char *description); G_END_DECLS |