Mercurial > pidgin
diff src/multi.c @ 4695:4bdd9a5fd026
[gaim-migrate @ 5006]
This may very well have issues, but it's a slightly better core/ui split,
removing global variables and fixing some GTK+ runtime errors and a couple
segfaults. It's some progress.
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Mon, 10 Mar 2003 18:16:29 +0000 |
parents | 283fb289c510 |
children | e4dda06a3143 |
line wrap: on
line diff
--- a/src/multi.c Mon Mar 10 16:39:46 2003 +0000 +++ b/src/multi.c Mon Mar 10 18:16:29 2003 +0000 @@ -185,9 +185,14 @@ gtk_widget_destroy(acctedit); acctedit = NULL; } + treeview = NULL; - if (!d && !gtkblist->window && !mainwindow && !connections) + + if (!d && !GAIM_GTK_BLIST(gaim_get_blist())->window && + !mainwindow && !connections) { + do_quit(); + } } static void on_delete_acctedit(GtkWidget *w, GdkEvent *ev, gpointer d)