| 145 |
145 |
| 146 void |
146 void |
| 147 gaim_connection_connect(GaimConnection *gc, GaimStatus *status) |
147 gaim_connection_connect(GaimConnection *gc, GaimStatus *status) |
| 148 { |
148 { |
| 149 GaimAccount *account; |
149 GaimAccount *account; |
| 150 GaimConnectionUiOps *ops; |
|
| 151 GaimPluginProtocolInfo *prpl_info = NULL; |
150 GaimPluginProtocolInfo *prpl_info = NULL; |
| 152 |
151 |
| 153 g_return_if_fail(gc != NULL); |
152 g_return_if_fail(gc != NULL); |
| 154 |
153 |
| 155 gaim_debug_info("connection", "Connecting. gc = %p\n", gc); |
154 gaim_debug_info("connection", "Connecting. gc = %p\n", gc); |
| 156 |
|
| 157 ops = gaim_connections_get_ui_ops(); |
|
| 158 |
155 |
| 159 if (gc->prpl != NULL) |
156 if (gc->prpl != NULL) |
| 160 prpl_info = GAIM_PLUGIN_PROTOCOL_INFO(gc->prpl); |
157 prpl_info = GAIM_PLUGIN_PROTOCOL_INFO(gc->prpl); |
| 161 else { |
158 else { |
| 162 gchar *message = g_strdup_printf(_("Missing protocol plugin for %s"), |
159 gchar *message = g_strdup_printf(_("Missing protocol plugin for %s"), |