comparison src/prefs.c @ 5569:5d2911d6d38e

[gaim-migrate @ 5971] The accounts dialog is getting there.. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Fri, 30 May 2003 19:59:27 +0000
parents fb4f7bd7525c
children 3a9b54f260e3
comparison
equal deleted inserted replaced
5568:fb4f7bd7525c 5569:5d2911d6d38e
438 } 438 }
439 439
440 gboolean gaim_prefs_get_bool(const char *name) { 440 gboolean gaim_prefs_get_bool(const char *name) {
441 struct gaim_pref *pref = find_pref(name); 441 struct gaim_pref *pref = find_pref(name);
442 442
443 printf("bool name = '%s'\n", name);
444 g_return_val_if_fail(pref != NULL, FALSE); 443 g_return_val_if_fail(pref != NULL, FALSE);
445 g_return_val_if_fail(pref->type == GAIM_PREF_BOOLEAN, FALSE); 444 g_return_val_if_fail(pref->type == GAIM_PREF_BOOLEAN, FALSE);
446 445
447 return pref->value.boolean; 446 return pref->value.boolean;
448 } 447 }