--- a/src/prefs.c Thu Aug 21 01:44:23 2003 +0000 +++ b/src/prefs.c Thu Aug 21 01:46:00 2003 +0000 @@ -494,6 +494,15 @@ return pref->value.generic; } +GaimPrefType gaim_prefs_get_type(const char *name) { + struct gaim_pref *pref = find_pref(name); + + if (pref == NULL) + return GAIM_PREF_NONE; + + return (pref->type); +} + gboolean gaim_prefs_get_bool(const char *name) { struct gaim_pref *pref = find_pref(name);