[gaim-migrate @ 10938]

Sat, 11 Sep 2004 20:23:43 +0000

author
Daniel Atallah <datallah@pidgin.im>
date
Sat, 11 Sep 2004 20:23:43 +0000
changeset 10018
a3b3baefa491
parent 10017
64a03fffb203
child 10019
4220e5faf686

[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: Luke Schierer <lschiere@pidgin.im>

src/gtkblist.c file | annotate | diff | comparison | revisions
--- 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;
 }

mercurial