comparison src/core.c @ 13180:bce53c3536da

[gaim-migrate @ 15543] the network and stun subsystems need to be initialized before we try to look up the IP committer: Tailor Script <tailor@pidgin.im>
author Daniel Atallah <daniel.atallah@gmail.com>
date Wed, 08 Feb 2006 15:07:54 +0000
parents d0ae6489a0fb
children 44a8d46ee3c1
comparison
equal deleted inserted replaced
13179:5adc0c9da9f3 13180:bce53c3536da
97 97
98 #ifdef HAVE_DBUS 98 #ifdef HAVE_DBUS
99 gaim_dbus_init(); 99 gaim_dbus_init();
100 #endif 100 #endif
101 101
102 /* Call this early on to try to auto-detect our IP address */
103 gaim_network_get_my_ip(-1);
104 102
105 /* Initialize all static protocols. */ 103 /* Initialize all static protocols. */
106 static_proto_init(); 104 static_proto_init();
107 105
108 /* Since plugins get probed so early we should probably initialize their 106 /* Since plugins get probed so early we should probably initialize their
132 gaim_ssl_init(); 130 gaim_ssl_init();
133 gaim_stun_init(); 131 gaim_stun_init();
134 gaim_xfers_init(); 132 gaim_xfers_init();
135 gaim_idle_init(); 133 gaim_idle_init();
136 134
135 /* Call this early on to try to auto-detect our IP address */
136 gaim_network_get_my_ip(-1);
137
137 if (ops != NULL && ops->ui_init != NULL) 138 if (ops != NULL && ops->ui_init != NULL)
138 ops->ui_init(); 139 ops->ui_init();
139 140
140 return TRUE; 141 return TRUE;
141 } 142 }