# HG changeset patch # User Nathan Walp # Date 1054396186 0 # Node ID eeba9205dd0f79d8a414acd517cd8d1c4d780661 # Parent 328dde25685af0e93c62326172f436562a9d8551 [gaim-migrate @ 6011] that win32 stuff has gotten really old committer: Tailor Script diff -r 328dde25685a -r eeba9205dd0f plugins/autorecon.c --- a/plugins/autorecon.c Sat May 31 15:43:38 2003 +0000 +++ b/plugins/autorecon.c Sat May 31 15:49:46 2003 +0000 @@ -9,8 +9,6 @@ #define AUTORECON_PLUGIN_ID "core-autorecon" -G_MODULE_IMPORT GSList *gaim_accounts; - #define INITIAL 8000 #define MAXTIME 2048000 @@ -22,7 +20,7 @@ GaimAccount *account = data; gaim_debug(GAIM_DEBUG_INFO, "autorecon", "do_signon called\n"); - if (g_slist_index(gaim_accounts, account) < 0) + if (g_list_index(gaim_accounts_get_all(), account) < 0) return FALSE; gaim_debug(GAIM_DEBUG_INFO, "autorecon", "calling gaim_account_connect\n"); gaim_account_connect(account); diff -r 328dde25685a -r eeba9205dd0f plugins/docklet/docklet.c --- a/plugins/docklet/docklet.c Sat May 31 15:43:38 2003 +0000 +++ b/plugins/docklet/docklet.c Sat May 31 15:49:46 2003 +0000 @@ -158,7 +158,7 @@ case offline_connecting: break; default: - gaim_new_item_from_stock(menu, _("Signoff"), GTK_STOCK_CLOSE, G_CALLBACK(signoff_all), NULL, 0, 0, 0); + gaim_new_item_from_stock(menu, _("Signoff"), GTK_STOCK_CLOSE, G_CALLBACK(gaim_connections_disconnect_all), NULL, 0, 0, 0); break; } diff -r 328dde25685a -r eeba9205dd0f plugins/ticker/ticker.c --- a/plugins/ticker/ticker.c Sat May 31 15:43:38 2003 +0000 +++ b/plugins/ticker/ticker.c Sat May 31 15:49:46 2003 +0000 @@ -50,9 +50,6 @@ GList *tickerbuds = NULL; -/* for win32 compatability */ -G_MODULE_IMPORT GSList *connections; - static gboolean buddy_ticker_destroy_window(GtkWidget *window, GdkEventAny *event, gpointer data) { if(window) @@ -196,7 +193,7 @@ } void signoff_cb(GaimConnection *gc) { - if (!connections) { + if (!gaim_connections_get_all()) { while(tickerbuds) { g_free(tickerbuds->data); tickerbuds = g_list_delete_link(tickerbuds, tickerbuds); @@ -246,7 +243,7 @@ gaim_signal_connect(plugin, event_buddy_away, away_cb, NULL); gaim_signal_connect(plugin, event_buddy_back, away_cb, NULL); - if (connections) + if (gaim_connections_get_all()) buddy_ticker_show(); return TRUE;