Mercurial > pidgin
changeset 6580:74d1cd241a3d
[gaim-migrate @ 7102]
I don't know why this stuff was still here
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Sat, 23 Aug 2003 05:39:10 +0000 |
parents | 9714538226f0 |
children | 0473a28ce807 |
files | src/gtksound.c |
diffstat | 1 files changed, 0 insertions(+), 17 deletions(-) [+] |
line wrap: on
line diff
--- a/src/gtksound.c Sat Aug 23 00:27:10 2003 +0000 +++ b/src/gtksound.c Sat Aug 23 05:39:10 2003 +0000 @@ -55,7 +55,6 @@ static gboolean mute_login_sounds = FALSE; static gboolean mute_sounds = FALSE; static gboolean sound_initialized = FALSE; -static char *sound_cmd = NULL; static struct gaim_sound_event sounds[GAIM_NUM_SOUNDS] = { {N_("Buddy logs in"), "login", "arrive.wav"}, @@ -386,19 +385,3 @@ return sounds[event].label; } - -void gaim_sound_set_command(const char *cmd) -{ - if(sound_cmd) - g_free(sound_cmd); - if(strlen(cmd) > 0) - sound_cmd = g_strdup(cmd); - else - sound_cmd = NULL; -} - -char *gaim_sound_get_command() -{ - return sound_cmd; -} -