Mercurial > pidgin
diff libgaim/prefs.c @ 15338:412c2b3b5fc0
[gaim-migrate @ 18131]
A few more path-pref fixes.
committer: Tailor Script <tailor@pidgin.im>
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Mon, 15 Jan 2007 19:24:50 +0000 |
parents | c2903a3768b5 |
children | a6aad36ca735 |
line wrap: on
line diff
--- a/libgaim/prefs.c Mon Jan 15 19:03:37 2007 +0000 +++ b/libgaim/prefs.c Mon Jan 15 19:24:50 2007 +0000 @@ -900,9 +900,9 @@ struct gaim_pref *pref = find_pref(name); if(pref) { - if(pref->type != GAIM_PREF_STRING) { + if(pref->type != GAIM_PREF_PATH) { gaim_debug_error("prefs", - "gaim_prefs_set_string: %s not a string pref\n", name); + "gaim_prefs_set_path: %s not a string pref\n", name); return; } @@ -926,9 +926,9 @@ if(pref) { GList *tmp; - if(pref->type != GAIM_PREF_STRING_LIST) { + if(pref->type != GAIM_PREF_PATH_LIST) { gaim_debug_error("prefs", - "gaim_prefs_set_string_list: %s not a string list pref\n", + "gaim_prefs_set_path_list: %s not a string list pref\n", name); return; } @@ -1056,11 +1056,11 @@ if(!pref) { gaim_debug_error("prefs", - "gaim_prefs_get_string: Unknown pref %s\n", name); + "gaim_prefs_get_path: Unknown pref %s\n", name); return NULL; } else if(pref->type != GAIM_PREF_PATH) { gaim_debug_error("prefs", - "gaim_prefs_get_string: %s not a path pref\n", name); + "gaim_prefs_get_path: %s not a path pref\n", name); return NULL; } @@ -1075,11 +1075,11 @@ if(!pref) { gaim_debug_error("prefs", - "gaim_prefs_get_string_list: Unknown pref %s\n", name); + "gaim_prefs_get_path_list: Unknown pref %s\n", name); return NULL; } else if(pref->type != GAIM_PREF_PATH_LIST) { gaim_debug_error("prefs", - "gaim_prefs_get_string_list: %s not a path list pref\n", name); + "gaim_prefs_get_path_list: %s not a path list pref\n", name); return NULL; }