From 65f7803dd86bdb99814cbabda7dfb9e9116d86f1 Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Tue, 6 Jan 2009 16:48:49 +0000 Subject: Turn empathy_sound_pref_is_enabled into empathy_sound_play that automatically plays the sound if the pref is enabled. svn path=/trunk/; revision=2078 --- libempathy-gtk/empathy-ui-utils.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'libempathy-gtk/empathy-ui-utils.h') 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 -- cgit v1.2.3