libpurple/sound.c

branch
soc.2008.themes
changeset 23655
704a67a69ce0
parent 19859
71d37b57eff2
child 24378
cb0bf512e61d
--- a/libpurple/sound.c	Mon Jun 30 23:12:54 2008 +0000
+++ b/libpurple/sound.c	Sun Jul 06 05:57:26 2008 +0000
@@ -25,6 +25,8 @@
 #include "blist.h"
 #include "prefs.h"
 #include "sound.h"
+#include "sound-loader.h"
+#include "theme-manager.h"
 
 static PurpleSoundUiOps *sound_ui_ops = NULL;
 
@@ -134,6 +136,8 @@
 	purple_prefs_add_none("/purple/sound");
 	purple_prefs_add_int("/purple/sound/while_status", STATUS_AVAILABLE);
 	memset(last_played, 0, sizeof(last_played));
+
+	purple_theme_manager_register_type(g_object_new(PURPLE_TYPE_SOUND_THEME_LOADER, "type", "sound", NULL));
 }
 
 void

mercurial