changeset 1474:4e891576c226

[gaim-migrate @ 1484] bah committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Tue, 06 Feb 2001 13:49:32 +0000
parents 38e8391aa563
children a15d5aaca94a
files src/multi.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/multi.c	Tue Feb 06 11:43:08 2001 +0000
+++ b/src/multi.c	Tue Feb 06 13:49:32 2001 +0000
@@ -125,14 +125,14 @@
 		gtk_widget_destroy(acctedit);
 	}
 	acctedit = NULL;
-	if (d == NULL && blist == NULL && mainwindow == NULL && g_slist_length(connections) < 1)
+	if (!d && !blist && !mainwindow && !connections)
 		gtk_main_quit();
 }
 
 static gint acctedit_close(GtkWidget *w, gpointer d)
 {
 	gtk_widget_destroy(acctedit);
-	if (d == NULL && blist == NULL && mainwindow == NULL)
+	if (!d && !blist && !mainwindow && !connections)
 		gtk_main_quit();
 	return FALSE;
 }