Mercurial > pidgin.yaz
comparison src/gtkmain.c @ 10332:8d42237564f6
[gaim-migrate @ 11539]
Two util functions were only half-const
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Thu, 09 Dec 2004 01:08:14 +0000 |
parents | bb2514e075db |
children | 5eb81f349da7 |
comparison
equal
deleted
inserted
replaced
10331:20df7dd1c57c | 10332:8d42237564f6 |
---|---|
603 } | 603 } |
604 | 604 |
605 gaim_debug_set_enabled(debug_enabled); | 605 gaim_debug_set_enabled(debug_enabled); |
606 | 606 |
607 plugin_search_paths[0] = g_strdup(LIBDIR); | 607 plugin_search_paths[0] = g_strdup(LIBDIR); |
608 plugin_search_paths[1] = gaim_user_dir(); | 608 plugin_search_paths[1] = g_strdup(gaim_user_dir()); |
609 plugin_search_paths[2] = g_build_filename(gaim_user_dir(), "plugins", NULL); | 609 plugin_search_paths[2] = g_build_filename(gaim_user_dir(), "plugins", NULL); |
610 | 610 |
611 gaim_plugins_set_search_paths(sizeof(plugin_search_paths) / | 611 gaim_plugins_set_search_paths(sizeof(plugin_search_paths) / |
612 sizeof(*plugin_search_paths), | 612 sizeof(*plugin_search_paths), |
613 plugin_search_paths); | 613 plugin_search_paths); |
614 | 614 |
615 g_free(plugin_search_paths[0]); | 615 g_free(plugin_search_paths[0]); |
616 g_free(plugin_search_paths[1]); | |
616 g_free(plugin_search_paths[2]); | 617 g_free(plugin_search_paths[2]); |
617 | 618 |
618 gaim_plugins_probe(NULL); | 619 gaim_plugins_probe(NULL); |
619 | 620 |
620 /* XXX - Remove this check. Maybe in 2005. --KingAnt, 25 Jul 2004 */ | 621 /* XXX - Remove this check. Maybe in 2005. --KingAnt, 25 Jul 2004 */ |