console/gntui.c

changeset 14045
12b8c2bfd3fb
parent 14028
eefce1b0c4e3
child 14072
4e64a4f18686
equal deleted inserted replaced
14044:024d74b6bb08 14045:12b8c2bfd3fb
3 #include "gntaccount.h" 3 #include "gntaccount.h"
4 #include "gntblist.h" 4 #include "gntblist.h"
5 #include "gntconn.h" 5 #include "gntconn.h"
6 #include "gntconv.h" 6 #include "gntconv.h"
7 #include "gntnotify.h" 7 #include "gntnotify.h"
8 #include "gntrequest.h"
8 9
9 void init_gnt_ui() 10 void init_gnt_ui()
10 { 11 {
11 #ifdef STANDALONE 12 #ifdef STANDALONE
12 gnt_init(); 13 gnt_init();
29 30
30 /* Notify */ 31 /* Notify */
31 gg_notify_init(); 32 gg_notify_init();
32 gaim_notify_set_ui_ops(gg_notify_get_ui_ops()); 33 gaim_notify_set_ui_ops(gg_notify_get_ui_ops());
33 34
35 gg_request_init();
36 gaim_request_set_ui_ops(gg_request_get_ui_ops());
37
34 #ifdef STANDALONE 38 #ifdef STANDALONE
35 gnt_main(); 39 gnt_main();
36 40
37 gaim_accounts_set_ui_ops(NULL); 41 gaim_accounts_set_ui_ops(NULL);
38 gg_accounts_uninit(); 42 gg_accounts_uninit();
47 gg_conversation_uninit(); 51 gg_conversation_uninit();
48 52
49 gaim_notify_set_ui_ops(NULL); 53 gaim_notify_set_ui_ops(NULL);
50 gg_notify_uninit(); 54 gg_notify_uninit();
51 55
56 gaim_request_set_ui_ops(NULL);
57 gg_request_uninit();
58
52 gnt_quit(); 59 gnt_quit();
53 #endif 60 #endif
54 } 61 }
55 62

mercurial