comparison console/gntgaim.c @ 14256:e7de1f6d9f35

[gaim-migrate @ 16938] Mostly minor cleanups committer: Tailor Script <tailor@pidgin.im>
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Mon, 21 Aug 2006 03:40:12 +0000
parents c65ed4f6eea8
children 43d9afee9c3c
comparison
equal deleted inserted replaced
14255:26ae644bb66b 14256:e7de1f6d9f35
247 247
248 path = g_build_filename(gaim_user_dir(), "plugins", NULL); 248 path = g_build_filename(gaim_user_dir(), "plugins", NULL);
249 gaim_plugins_add_search_path(path); 249 gaim_plugins_add_search_path(path);
250 g_free(path); 250 g_free(path);
251 251
252 #ifdef LIBDIR
253 gaim_plugins_add_search_path(LIBDIR); 252 gaim_plugins_add_search_path(LIBDIR);
254 #else
255 gaim_plugins_add_search_path("/usr/local/lib/gaim"); /* XXX: Remove this after the restructure */
256 #endif
257 253
258 if (!gaim_core_init(GAIM_GNT_UI)) 254 if (!gaim_core_init(GAIM_GNT_UI))
259 { 255 {
260 fprintf(stderr, 256 fprintf(stderr,
261 "Initialization of the Gaim core failed. Dumping core.\n" 257 "Initialization of the Gaim core failed. Dumping core.\n"