Mercurial > pidgin.yaz
comparison console/gntgaim.c @ 14007:9653b21bde9e
[gaim-migrate @ 16592]
This would've caused crashes after the tree-restructuring was complete.
A lot of thanks to wabz for testing the thing, finding the bug and fixing it.
committer: Tailor Script <tailor@pidgin.im>
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Fri, 28 Jul 2006 23:48:26 +0000 |
parents | b7a99d54a5a9 |
children | a4aee1adefcf |
comparison
equal
deleted
inserted
replaced
14006:c17dd38c562d | 14007:9653b21bde9e |
---|---|
244 | 244 |
245 path = g_build_filename(gaim_user_dir(), "plugins", NULL); | 245 path = g_build_filename(gaim_user_dir(), "plugins", NULL); |
246 gaim_plugins_add_search_path(path); | 246 gaim_plugins_add_search_path(path); |
247 g_free(path); | 247 g_free(path); |
248 | 248 |
249 gaim_plugins_add_search_path("/usr/local/lib/gaim"); /* XXX: */ | 249 #ifdef LIBDIR |
250 gaim_plugins_add_search_path(LIBDIR); | |
251 #else | |
252 gaim_plugins_add_search_path("/usr/local/lib/gaim"); /* XXX: Remove this after the restructure */ | |
253 #endif | |
250 | 254 |
251 if (!gaim_core_init(GAIM_GNT_UI)) | 255 if (!gaim_core_init(GAIM_GNT_UI)) |
252 { | 256 { |
253 fprintf(stderr, | 257 fprintf(stderr, |
254 "Initialization of the Gaim core failed. Dumping core.\n" | 258 "Initialization of the Gaim core failed. Dumping core.\n" |