Mercurial > pidgin
comparison console/gntgaim.c @ 14847:d478f3853671
[gaim-migrate @ 17616]
Fix bug #1582629. The terminal should now always go back to normal state after quitting from gaim-text.
committer: Tailor Script <tailor@pidgin.im>
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Sun, 29 Oct 2006 03:43:15 +0000 |
parents | 54ce6f592b01 |
children | 78cab68de463 |
comparison
equal
deleted
inserted
replaced
14846:c7651586e27b | 14847:d478f3853671 |
---|---|
55 | 55 |
56 static GaimCoreUiOps core_ops = | 56 static GaimCoreUiOps core_ops = |
57 { | 57 { |
58 gg_prefs_init, | 58 gg_prefs_init, |
59 debug_init, | 59 debug_init, |
60 NULL, /*gaim_gtk_ui_init,*/ | 60 gnt_ui_init, |
61 NULL, /*gaim_gtk_quit*/ | 61 gnt_ui_uninit |
62 }; | 62 }; |
63 | 63 |
64 static GaimCoreUiOps * | 64 static GaimCoreUiOps * |
65 gnt_core_get_ui_ops() | 65 gnt_core_get_ui_ops() |
66 { | 66 { |
330 | 330 |
331 /* Initialize the libgaim stuff */ | 331 /* Initialize the libgaim stuff */ |
332 if (!init_libgaim(argc, argv)) | 332 if (!init_libgaim(argc, argv)) |
333 return 0; | 333 return 0; |
334 | 334 |
335 /* Initialize and run the UI */ | 335 gaim_blist_show(); |
336 init_gnt_ui(); | 336 gnt_main(); |
337 | |
337 #ifdef STANDALONE | 338 #ifdef STANDALONE |
338 gaim_core_quit(); | 339 gaim_core_quit(); |
339 #endif | 340 #endif |
340 | 341 |
341 return 0; | 342 return 0; |