Mercurial > pidgin
comparison console/gntui.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 | 81650a27f253 |
children | 704d40050800 |
comparison
equal
deleted
inserted
replaced
14846:c7651586e27b | 14847:d478f3853671 |
---|---|
34 | 34 |
35 #include "internal.h" | 35 #include "internal.h" |
36 | 36 |
37 #include <prefs.h> | 37 #include <prefs.h> |
38 | 38 |
39 void init_gnt_ui() | 39 void gnt_ui_init() |
40 { | 40 { |
41 #ifdef STANDALONE | 41 #ifdef STANDALONE |
42 gnt_init(); | 42 gnt_init(); |
43 #endif | 43 #endif |
44 | 44 |
75 gnt_register_action(_("Statuses"), gg_savedstatus_show_all); | 75 gnt_register_action(_("Statuses"), gg_savedstatus_show_all); |
76 | 76 |
77 #ifdef STANDALONE | 77 #ifdef STANDALONE |
78 | 78 |
79 gg_plugins_save_loaded(); | 79 gg_plugins_save_loaded(); |
80 } | |
80 | 81 |
81 gnt_main(); | 82 void gnt_ui_uninit() |
82 | 83 { |
83 gaim_accounts_set_ui_ops(NULL); | 84 gaim_accounts_set_ui_ops(NULL); |
84 gg_accounts_uninit(); | 85 gg_accounts_uninit(); |
85 | 86 |
86 gaim_connections_set_ui_ops(NULL); | 87 gaim_connections_set_ui_ops(NULL); |
87 gg_connections_uninit(); | 88 gg_connections_uninit(); |