changeset 1181:2e0e157b49a0

[gaim-migrate @ 1191] i hope this doesn't break anything. i think it should actually fix things. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Fri, 01 Dec 2000 11:12:39 +0000
parents d98d6a3cb39e
children bab9f3dc07f8
files src/browser.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/browser.c	Fri Dec 01 11:11:07 2000 +0000
+++ b/src/browser.c	Fri Dec 01 11:12:39 2000 +0000
@@ -556,7 +556,7 @@
         mozilla_remote_init_atoms ();
         window = mozilla_remote_find_window();
 
-        if (window) {
+        if (window && (((GdkWindowPrivate *)window)->destroyed == FALSE)) {
 
 		XSelectInput(gdk_display, ((GdkWindowPrivate *)window)->xwindow,
 			     (PropertyChangeMask|StructureNotifyMask));
@@ -596,7 +596,7 @@
 	mozilla_remote_init_atoms();
 	window = mozilla_remote_find_window();
 
-	if (window) {
+	if (window && (((GdkWindowPrivate *)window)->destroyed == FALSE)) {
 
 		XSelectInput(gdk_display, ((GdkWindowPrivate *)window)->xwindow,
 			     (PropertyChangeMask|StructureNotifyMask));