changeset 1944:2d5fef1f986d

[gaim-migrate @ 1954] this is better. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Fri, 01 Jun 2001 23:17:09 +0000
parents b7b1bb01fa94
children ee1adc242b11
files src/browser.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/browser.c	Fri Jun 01 23:09:07 2001 +0000
+++ b/src/browser.c	Fri Jun 01 23:17:09 2001 +0000
@@ -488,7 +488,7 @@
 
 	if (window && (((GdkWindowPrivate *) window)->destroyed == FALSE)) {
 
-		XSelectInput(gdk_display, ((GdkWindowPrivate *) window)->xwindow,
+		XSelectInput(gdk_display, GDK_WINDOW_XWINDOW(window),
 			     (PropertyChangeMask | StructureNotifyMask));
 
 
@@ -528,7 +528,7 @@
 
 	if (window && (((GdkWindowPrivate *) window)->destroyed == FALSE)) {
 
-		XSelectInput(gdk_display, ((GdkWindowPrivate *) window)->xwindow,
+		XSelectInput(gdk_display, GDK_WINDOW_XWINDOW(window),
 			     (PropertyChangeMask | StructureNotifyMask));
 
 		mozilla_remote_obtain_lock(window);