libpurple/prefs.c

changeset 16998
c91333e2895a
parent 16626
8b0e5bf44f6b
child 17040
cb33027a36e4
equal deleted inserted replaced
16997:d58c27feb96f 16998:c91333e2895a
935 if(pref) { 935 if(pref) {
936 GList *tmp; 936 GList *tmp;
937 937
938 if(pref->type != PURPLE_PREF_PATH_LIST) { 938 if(pref->type != PURPLE_PREF_PATH_LIST) {
939 purple_debug_error("prefs", 939 purple_debug_error("prefs",
940 "purple_prefs_set_path_list: %s not a string list pref\n", 940 "purple_prefs_set_path_list: %s not a path list pref\n",
941 name); 941 name);
942 return; 942 return;
943 } 943 }
944 944
945 g_list_foreach(pref->value.stringlist, (GFunc)g_free, NULL); 945 g_list_foreach(pref->value.stringlist, (GFunc)g_free, NULL);

mercurial