| 1217 } |
1217 } |
| 1218 |
1218 |
| 1219 static gint |
1219 static gint |
| 1220 __accedit_win_destroy_cb(GtkWidget *w, GdkEvent *event, AccountsDialog *dialog) |
1220 __accedit_win_destroy_cb(GtkWidget *w, GdkEvent *event, AccountsDialog *dialog) |
| 1221 { |
1221 { |
| |
1222 gaim_signals_disconnect_by_handle(dialog); |
| |
1223 |
| 1222 g_free(accounts_dialog); |
1224 g_free(accounts_dialog); |
| 1223 accounts_dialog = NULL; |
1225 accounts_dialog = NULL; |
| 1224 |
1226 |
| 1225 gaim_signal_disconnect(NULL, event_signon, __signed_on_off_cb); |
|
| 1226 gaim_signal_disconnect(NULL, event_signoff, __signed_on_off_cb); |
|
| 1227 |
1227 |
| 1228 /* See if we're the main window here. */ |
1228 /* See if we're the main window here. */ |
| 1229 if (GAIM_GTK_BLIST(gaim_get_blist())->window == NULL && |
1229 if (GAIM_GTK_BLIST(gaim_get_blist())->window == NULL && |
| 1230 mainwindow == NULL && gaim_connections_get_all() == NULL) { |
1230 mainwindow == NULL && gaim_connections_get_all() == NULL) { |
| 1231 |
1231 |