Mercurial > pidgin
diff src/gtksound.c @ 5794:5e93fc46d1af
[gaim-migrate @ 6219]
Removed the __ prefix from static functions. I love them, but ANSI C
knocked on my door and threatened to sue, saying they own all rights to
them, so I was forced to remove them.
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Sat, 07 Jun 2003 07:57:24 +0000 |
parents | b61520e71679 |
children | 059d95c67cda |
line wrap: on
line diff
--- a/src/gtksound.c Sat Jun 07 06:41:31 2003 +0000 +++ b/src/gtksound.c Sat Jun 07 07:57:24 2003 +0000 @@ -90,7 +90,7 @@ static int ao_driver = -1; #endif /* USE_AO */ -static void __pref_sound_method_changed(const char *name, GaimPrefType type, +static void _pref_sound_method_changed(const char *name, GaimPrefType type, gpointer val, gpointer data); static void gaim_gtk_sound_init(void) @@ -129,7 +129,7 @@ #endif /* USE_AO */ gaim_prefs_connect_callback("/gaim/gtk/sound/method", - __pref_sound_method_changed, NULL); + _pref_sound_method_changed, NULL); gaim_prefs_trigger_callback("/gaim/gtk/sound/method"); } @@ -321,7 +321,7 @@ } -static void __pref_sound_method_changed(const char *name, GaimPrefType type, +static void _pref_sound_method_changed(const char *name, GaimPrefType type, gpointer val, gpointer data) { if(type != GAIM_PREF_STRING || strcmp(name, "/gaim/gtk/sound/method")) return;