seek: Only use embed_xid if HAVE_X is defined

Fixes bug #614622.
This commit is contained in:
Sebastian Dröge 2010-04-02 18:56:34 +02:00
parent dcfeb6efbc
commit a8574bd53d

View file

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