comparison 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
comparison
equal deleted inserted replaced
5793:952710ac6635 5794:5e93fc46d1af
88 88
89 #ifdef USE_AO 89 #ifdef USE_AO
90 static int ao_driver = -1; 90 static int ao_driver = -1;
91 #endif /* USE_AO */ 91 #endif /* USE_AO */
92 92
93 static void __pref_sound_method_changed(const char *name, GaimPrefType type, 93 static void _pref_sound_method_changed(const char *name, GaimPrefType type,
94 gpointer val, gpointer data); 94 gpointer val, gpointer data);
95 95
96 static void gaim_gtk_sound_init(void) 96 static void gaim_gtk_sound_init(void)
97 { 97 {
98 gaim_prefs_add_none("/gaim/gtk/sound"); 98 gaim_prefs_add_none("/gaim/gtk/sound");
127 "Initializing sound output drivers.\n"); 127 "Initializing sound output drivers.\n");
128 ao_initialize(); 128 ao_initialize();
129 #endif /* USE_AO */ 129 #endif /* USE_AO */
130 130
131 gaim_prefs_connect_callback("/gaim/gtk/sound/method", 131 gaim_prefs_connect_callback("/gaim/gtk/sound/method",
132 __pref_sound_method_changed, NULL); 132 _pref_sound_method_changed, NULL);
133 gaim_prefs_trigger_callback("/gaim/gtk/sound/method"); 133 gaim_prefs_trigger_callback("/gaim/gtk/sound/method");
134 } 134 }
135 135
136 136
137 static void gaim_gtk_sound_shutdown(void) 137 static void gaim_gtk_sound_shutdown(void)
319 { 319 {
320 return &sound_ui_ops; 320 return &sound_ui_ops;
321 } 321 }
322 322
323 323
324 static void __pref_sound_method_changed(const char *name, GaimPrefType type, 324 static void _pref_sound_method_changed(const char *name, GaimPrefType type,
325 gpointer val, gpointer data) { 325 gpointer val, gpointer data) {
326 if(type != GAIM_PREF_STRING || strcmp(name, "/gaim/gtk/sound/method")) 326 if(type != GAIM_PREF_STRING || strcmp(name, "/gaim/gtk/sound/method"))
327 return; 327 return;
328 #ifdef USE_AO 328 #ifdef USE_AO
329 ao_driver = -1; 329 ao_driver = -1;