comparison libgaim/plugin.c @ 15325:ac460d00e235

[gaim-migrate @ 18116] baby steps toward having correct path handling...others can feel free to chime in and fix stuff committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Fri, 12 Jan 2007 22:48:13 +0000
parents a2a0c0a13a75
children
comparison
equal deleted inserted replaced
15324:e3ea20c6e73f 15325:ac460d00e235
1214 p->info->type != GAIM_PLUGIN_LOADER) { 1214 p->info->type != GAIM_PLUGIN_LOADER) {
1215 files = g_list_append(files, p->path); 1215 files = g_list_append(files, p->path);
1216 } 1216 }
1217 } 1217 }
1218 1218
1219 gaim_prefs_set_string_list(key, files); 1219 gaim_prefs_set_path_list(key, files);
1220 g_list_free(files); 1220 g_list_free(files);
1221 #endif 1221 #endif
1222 } 1222 }
1223 1223
1224 void 1224 void
1227 #ifdef GAIM_PLUGINS 1227 #ifdef GAIM_PLUGINS
1228 GList *f, *files; 1228 GList *f, *files;
1229 1229
1230 g_return_if_fail(key != NULL); 1230 g_return_if_fail(key != NULL);
1231 1231
1232 files = gaim_prefs_get_string_list(key); 1232 files = gaim_prefs_get_path_list(key);
1233 1233
1234 for (f = files; f; f = f->next) 1234 for (f = files; f; f = f->next)
1235 { 1235 {
1236 char *filename; 1236 char *filename;
1237 char *basename; 1237 char *basename;