changeset 2395:c014fd611443

[gaim-migrate @ 2408] this is better. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Sun, 30 Sep 2001 05:31:14 +0000
parents 579f8d4347ad
children 78fab38249a2
files plugins/iconaway.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/iconaway.c	Sun Sep 30 05:16:30 2001 +0000
+++ b/plugins/iconaway.c	Sun Sep 30 05:31:14 2001 +0000
@@ -16,7 +16,7 @@
 #endif
 
 void iconify_windows(struct gaim_connection *gc, char *state, char *message, void *data) {
-	if (!imaway)
+	if (!imaway || !gc->away)
 		return;
 	XIconifyWindow(GDK_DISPLAY(),
 			GDK_WINDOW_XWINDOW(imaway->window),