libgaim/prefs.c

changeset 15400
83628f1c372d
parent 15370
ec2add2105cb
child 18067
ce02548a6b6a
child 20470
77693555855f
child 20472
6a6d2ef151e6
--- 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;
 	}
 

mercurial