about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorMarco Peereboom <marco@conformal.com>2012-05-16 16:27:35 -0500
committerMarco Peereboom <marco@conformal.com>2012-05-16 16:27:57 -0500
commit51753c8943a749dd89b1edd1419c31343ae32ec8 (patch)
treec3f21dc51e32cb225eb5074a7e40166fb2a2c39b
parent64e7d60fe04815af16a013dc7d084c1237a50736 (diff)
downloadxombrero-51753c8943a749dd89b1edd1419c31343ae32ec8.tar.gz
make gdk_flush compile time conditional
-rw-r--r--xxxterm.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/xxxterm.c b/xxxterm.c
index 79e2b1d..3b7ec5d 100644
--- a/xxxterm.c
+++ b/xxxterm.c
@@ -3450,7 +3450,7 @@ color_address_bar(gpointer p)
 	u = g_strdup(uri);
 
 #ifdef USE_THREADS
-	gdk_flush();
+	GDK_FLUSH();
 	gdk_threads_leave();
 #endif
 
@@ -3522,7 +3522,7 @@ done:
 	if (u)
 		g_free((gpointer)u);
 #ifdef USE_THREADS
-	gdk_flush();
+	GDK_FLUSH();
 	gdk_threads_leave();
 #endif
 }
@@ -8075,7 +8075,7 @@ main(int argc, char **argv)
 	gtk_main();
 
 #ifdef USE_THREADS
-	gdk_flush();
+	GDK_FLUSH();
 	gdk_threads_leave();
 	g_static_rec_mutex_unlock_full(&my_gdk_mtx); /* just in case */
 #endif