Mercurial > pidgin
comparison src/main.c @ 7054:7c04a0775918
[gaim-migrate @ 7617]
WinGaim 0.69 moved the gaim settings directory exposing an oscar bug..
What to do if a buddy icon cache copy does not exist but a check sum does.
Also moved win32 code to initialize gaim settings dir before core initializations.
committer: Tailor Script <tailor@pidgin.im>
author | Herman Bloggs <hermanator12002@yahoo.com> |
---|---|
date | Tue, 30 Sep 2003 05:36:28 +0000 |
parents | feb3d21a7794 |
children | c4faffdc0862 |
comparison
equal
deleted
inserted
replaced
7053:9d8e56c66854 | 7054:7c04a0775918 |
---|---|
797 | 797 |
798 gaim_gtk_stock_init(); | 798 gaim_gtk_stock_init(); |
799 | 799 |
800 gaim_core_set_ui_ops(gaim_gtk_core_get_ui_ops()); | 800 gaim_core_set_ui_ops(gaim_gtk_core_get_ui_ops()); |
801 | 801 |
802 #ifdef _WIN32 | |
803 wgaim_set_hinstance(hint); | |
804 wgaim_pre_plugin_init(); | |
805 #endif | |
806 | |
802 if (!gaim_core_init(GAIM_GTK_UI)) { | 807 if (!gaim_core_init(GAIM_GTK_UI)) { |
803 fprintf(stderr, | 808 fprintf(stderr, |
804 "Initialization of the Gaim core failed. Dumping core.\n" | 809 "Initialization of the Gaim core failed. Dumping core.\n" |
805 "Please report this!\n"); | 810 "Please report this!\n"); |
806 abort(); | 811 abort(); |
807 } | 812 } |
808 | |
809 #ifdef _WIN32 | |
810 wgaim_set_hinstance(hint); | |
811 wgaim_pre_plugin_init(); | |
812 #endif | |
813 | 813 |
814 plugin_search_paths[0] = LIBDIR; | 814 plugin_search_paths[0] = LIBDIR; |
815 plugin_search_paths[1] = gaim_user_dir(); | 815 plugin_search_paths[1] = gaim_user_dir(); |
816 plugin_search_paths[2] = g_strdup_printf("%s/plugins", gaim_user_dir()); | 816 plugin_search_paths[2] = g_strdup_printf("%s/plugins", gaim_user_dir()); |
817 | 817 |