Mercurial > pidgin.yaz
comparison src/main.c @ 4695:4bdd9a5fd026
[gaim-migrate @ 5006]
This may very well have issues, but it's a slightly better core/ui split,
removing global variables and fixing some GTK+ runtime errors and a couple
segfaults. It's some progress.
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Mon, 10 Mar 2003 18:16:29 +0000 |
parents | 283fb289c510 |
children | e4dda06a3143 |
comparison
equal
deleted
inserted
replaced
4694:8f523dbb970e | 4695:4bdd9a5fd026 |
---|---|
523 if (smiley_themes) { | 523 if (smiley_themes) { |
524 struct smiley_theme *smile = smiley_themes->data; | 524 struct smiley_theme *smile = smiley_themes->data; |
525 load_smiley_theme(smile->path, TRUE); | 525 load_smiley_theme(smile->path, TRUE); |
526 } | 526 } |
527 } | 527 } |
528 | |
529 /* Set the UI operation structures. */ | |
530 gaim_set_win_ui_ops(gaim_get_gtk_window_ui_ops()); | |
531 gaim_set_xfer_ui_ops(gaim_get_gtk_xfer_ui_ops()); | |
532 gaim_set_blist_ui_ops(gaim_get_gtk_blist_ui_ops()); | |
533 | 528 |
534 setup_stock(); | 529 setup_stock(); |
535 | 530 |
536 #ifndef _WIN32 | 531 #ifndef _WIN32 |
537 /* use the nice PNG icon for all the windows */ | 532 /* use the nice PNG icon for all the windows */ |
861 #ifdef _WIN32 | 856 #ifdef _WIN32 |
862 /* Various win32 initializations */ | 857 /* Various win32 initializations */ |
863 wgaim_init(); | 858 wgaim_init(); |
864 #endif | 859 #endif |
865 | 860 |
861 /* Set the UI operation structures. */ | |
862 gaim_set_win_ui_ops(gaim_get_gtk_window_ui_ops()); | |
863 gaim_set_xfer_ui_ops(gaim_get_gtk_xfer_ui_ops()); | |
864 gaim_set_blist_ui_ops(gaim_get_gtk_blist_ui_ops()); | |
865 | |
866 load_prefs(); | 866 load_prefs(); |
867 core_main(); | 867 core_main(); |
868 ui_main(); | 868 ui_main(); |
869 | 869 |
870 #ifdef USE_SM | 870 #ifdef USE_SM |