From a8574bd53d8577c6fcea3dc9e640a237bd8bef5f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Fri, 2 Apr 2010 18:56:34 +0200 Subject: [PATCH] seek: Only use embed_xid if HAVE_X is defined Fixes bug #614622. --- tests/examples/seek/seek.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/examples/seek/seek.c b/tests/examples/seek/seek.c index 0b9aa35cc3..9cd4d02fd7 100644 --- a/tests/examples/seek/seek.c +++ b/tests/examples/seek/seek.c @@ -2952,8 +2952,10 @@ main (int argc, char **argv) * asks for the XID of the window to render onto */ gtk_widget_realize (window); +#ifdef HAVE_X /* we should have the XID now */ g_assert (embed_xid != 0); +#endif if (verbose) { g_signal_connect (pipeline, "deep_notify",