changeset 2041:241ffe9ee605

[gaim-migrate @ 2051] whoops. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Sat, 16 Jun 2001 19:37:17 +0000
parents 64a07b9e9202
children d5033540df18
files plugins/msn/msn.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/msn/msn.c	Sat Jun 16 19:22:48 2001 +0000
+++ b/plugins/msn/msn.c	Sat Jun 16 19:37:17 2001 +0000
@@ -331,7 +331,8 @@
 	struct gaim_connection *gc = ms->gc;
 	struct msn_data *md = gc->proto_data;
 
-	gdk_input_remove(ms->inpa);
+	if (ms->inpa)
+		gdk_input_remove(ms->inpa);
 	close(ms->fd);
 	if (ms->sessid)
 		g_free(ms->sessid);