comparison src/prefs.c @ 5451:e1cc0c67e123

[gaim-migrate @ 5839] some compile cleanups, and more importantly, the rest of that tobase16 fix that I forgot about committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Tue, 20 May 2003 01:31:56 +0000
parents dec7e222a68b
children 156e65ca910f
comparison
equal deleted inserted replaced
5450:bb1e160467b6 5451:e1cc0c67e123
286 pref->value.integer = value; 286 pref->value.integer = value;
287 do_callbacks(name, pref); 287 do_callbacks(name, pref);
288 } 288 }
289 } 289 }
290 290
291 void gaim_prefs_set_string(const char *name, char *value) { 291 void gaim_prefs_set_string(const char *name, const char *value) {
292 struct gaim_pref *pref = find_pref(name); 292 struct gaim_pref *pref = find_pref(name);
293 293
294 g_return_if_fail(pref != NULL); 294 g_return_if_fail(pref != NULL);
295 g_return_if_fail(pref->type == GAIM_PREF_STRING); 295 g_return_if_fail(pref->type == GAIM_PREF_STRING);
296 296