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",