changeset 1406:cabde2947ba4

[gaim-migrate @ 1416] bah committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Sat, 13 Jan 2001 09:05:41 +0000
parents cf36481bbc8f
children 9f356885a77a
files plugins/iconaway.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/iconaway.c	Sat Jan 13 08:53:23 2001 +0000
+++ b/plugins/iconaway.c	Sat Jan 13 09:05:41 2001 +0000
@@ -16,6 +16,8 @@
 void iconify_windows(struct gaim_connection *gc, char *state, char *message, void *data) {
 	if (!gc->away)
 		return;
+	if (!imaway)
+		return;
 	XIconifyWindow(GDK_DISPLAY(),
 			GDK_WINDOW_XWINDOW(imaway->window),
 			((_XPrivDisplay)GDK_DISPLAY())->default_screen);