comparison src/aim.c @ 3907:41e7544a9c67

[gaim-migrate @ 4060] wgaim_cleanup added committer: Tailor Script <tailor@pidgin.im>
author Herman Bloggs <hermanator12002@yahoo.com>
date Tue, 05 Nov 2002 23:00:53 +0000
parents 43e396e94095
children 40258b6b5ecf
comparison
equal deleted inserted replaced
3906:eb1d58c2d6af 3907:41e7544a9c67
776 } 776 }
777 777
778 #if GAIM_PLUGINS || USE_PERL 778 #if GAIM_PLUGINS || USE_PERL
779 gaim_probe_plugins(); 779 gaim_probe_plugins();
780 #endif 780 #endif
781
782 #ifdef _WIN32
783 /* Various win32 initializations */
784 wgaim_init();
785 #endif
786
781 load_prefs(); 787 load_prefs();
782 core_main(); 788 core_main();
783 #ifndef _WIN32 789 #ifndef _WIN32
784 ui_main(); 790 ui_main();
785 #endif 791 #endif
810 816
811 if (opt_acct) { 817 if (opt_acct) {
812 account_editor(NULL, NULL); 818 account_editor(NULL, NULL);
813 } else if ((dologin_ret == -1) && !connections) 819 } else if ((dologin_ret == -1) && !connections)
814 show_login(); 820 show_login();
815 #ifdef _WIN32
816 /* Various win32 initializations */
817 wgaim_init();
818 #endif
819 821
820 gtk_main(); 822 gtk_main();
821 core_quit(); 823 core_quit();
822 /* don't need ui_quit here because ui doesn't create anything */ 824 /* don't need ui_quit here because ui doesn't create anything */
823 825 #ifdef _WIN32
826 wgaim_cleanup();
827 #endif
824 return 0; 828 return 0;
825 829
826 } 830 }