Mercurial > pidgin.yaz
comparison src/main.c @ 7521:8beec54d1855
[gaim-migrate @ 8134]
Consolidated two windows init funcs
committer: Tailor Script <tailor@pidgin.im>
author | Herman Bloggs <hermanator12002@yahoo.com> |
---|---|
date | Sun, 16 Nov 2003 01:47:38 +0000 |
parents | 3e85281aef0b |
children | 357eb1c39b72 |
comparison
equal
deleted
inserted
replaced
7520:f25119847c5b | 7521:8beec54d1855 |
---|---|
824 } | 824 } |
825 #endif | 825 #endif |
826 | 826 |
827 gaim_gtk_stock_init(); | 827 gaim_gtk_stock_init(); |
828 | 828 |
829 #ifdef _WIN32 | |
830 wgaim_init(hint); | |
831 #endif | |
829 gaim_core_set_ui_ops(gaim_gtk_core_get_ui_ops()); | 832 gaim_core_set_ui_ops(gaim_gtk_core_get_ui_ops()); |
830 | |
831 #ifdef _WIN32 | |
832 wgaim_set_hinstance(hint); | |
833 wgaim_pre_plugin_init(); | |
834 #endif | |
835 | 833 |
836 if (!gaim_core_init(GAIM_GTK_UI)) { | 834 if (!gaim_core_init(GAIM_GTK_UI)) { |
837 fprintf(stderr, | 835 fprintf(stderr, |
838 "Initialization of the Gaim core failed. Dumping core.\n" | 836 "Initialization of the Gaim core failed. Dumping core.\n" |
839 "Please report this!\n"); | 837 "Please report this!\n"); |
866 /* load plugins we had when we quit */ | 864 /* load plugins we had when we quit */ |
867 gaim_plugins_load_saved("/gaim/gtk/plugins/loaded"); | 865 gaim_plugins_load_saved("/gaim/gtk/plugins/loaded"); |
868 | 866 |
869 gaim_pounces_load(); | 867 gaim_pounces_load(); |
870 gaim_status_load(); | 868 gaim_status_load(); |
871 | |
872 #ifdef _WIN32 | |
873 /* Various win32 initializations */ | |
874 wgaim_init(); | |
875 #endif | |
876 | 869 |
877 gaim_set_blist(gaim_blist_new()); | 870 gaim_set_blist(gaim_blist_new()); |
878 gaim_blist_load(); | 871 gaim_blist_load(); |
879 | 872 |
880 load_pounces(); | 873 load_pounces(); |