summaryrefslogtreecommitdiff
path: root/finch/gntui.c
diff options
context:
space:
mode:
authorEric Polino <aluink@pidgin.im>2007-06-14 03:54:49 +0000
committerEric Polino <aluink@pidgin.im>2007-06-14 03:54:49 +0000
commit9ff6aa09460ea28920b4584fccc91571d796b087 (patch)
tree9fb20dc8511cfbd36665c0bf57f2ab926950bda3 /finch/gntui.c
parentd952b8e2a5f14a1639fc10c753f3a908cc344e59 (diff)
downloadpidgin-9ff6aa09460ea28920b4584fccc91571d796b087.tar.gz
Added sound to Finch.
Currently it's directly into Finch, but later we'll most likely move it into a plugin since some have argued well that sound in a console app might not be an all around favored thing.
Diffstat (limited to 'finch/gntui.c')
-rw-r--r--finch/gntui.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/finch/gntui.c b/finch/gntui.c
index 2df8a04712..b9ed3b7f8c 100644
--- a/finch/gntui.c
+++ b/finch/gntui.c
@@ -33,6 +33,7 @@
#include "gntprefs.h"
#include "gntrequest.h"
#include "gntstatus.h"
+#include "gntsound.h"
#include "internal.h"
#include <prefs.h>
@@ -57,6 +58,9 @@ void gnt_ui_init()
finch_blist_init();
purple_blist_set_ui_ops(finch_blist_get_ui_ops());
+ /* Initialize sound */
+ purple_sound_set_ui_ops(finch_sound_get_ui_ops());
+
/* Now the conversations */
finch_conversation_init();
purple_conversations_set_ui_ops(finch_conv_get_ui_ops());