$OpenBSD: patch-test_test-xinput-utils_c,v 1.2 2013/04/01 07:27:19 ajacoutot Exp $

https://bugzilla.gnome.org/show_bug.cgi?id=631068

--- test/test-xinput-utils.c.orig	Sun Oct  4 01:14:47 2009
+++ test/test-xinput-utils.c	Mon Jan 17 14:42:04 2011
@@ -28,7 +28,7 @@ void
 teardown (void)
 {
     if (device)
-        XCloseDevice(GDK_DISPLAY(), device);
+        XCloseDevice(gdk_x11_get_default_xdisplay(), device);
     g_clear_error(&error);
     g_clear_error(&expected_error);
 }
