changeset 1792:de88617f542c

[gaim-migrate @ 1802] if (gtk_main_level()) gtk_main_quit(); exit(0); committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Tue, 01 May 2001 21:47:24 +0000
parents b4cc5f391133
children 00c753b86710
files src/aim.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/aim.c	Tue May 01 07:44:01 2001 +0000
+++ b/src/aim.c	Tue May 01 21:47:24 2001 +0000
@@ -402,7 +402,8 @@
 		abort();
 		break;
 	default:
-		gtk_main_quit();
+		if (gtk_main_level())
+			gtk_main_quit();
 		exit(0);
 	}
 }