changeset 10018:bae1cd16e854

[gaim-migrate @ 10938] (16:05:11) datallah: PacoPaco's x.org patch is problematic for win32 (16:06:33) datallah: should there be X stuff directly in gtkblist.c ? (16:06:48) ***LSchiere grumbles (16:07:28) datallah: i have a patch to make it work, but i'm wondering if the XQueryExtension call belongs there committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Sat, 11 Sep 2004 20:23:43 +0000
parents ef935958e84c
children 8cc6f0bfa215
files src/gtkblist.c
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/gtkblist.c	Sat Sep 11 19:58:58 2004 +0000
+++ b/src/gtkblist.c	Sat Sep 11 20:23:43 2004 +0000
@@ -186,7 +186,9 @@
 
 static gboolean xcomposite_is_present()
 {
-	static gboolean known = FALSE, result = FALSE;
+	static gboolean result = FALSE;
+#ifndef _WIN32
+	static gboolean known = FALSE;
 	int i, j, k;
 
 	if (!known) {
@@ -195,6 +197,7 @@
 			result = TRUE;
 		known = TRUE;
 	}
+#endif
 
 	return result;
 }