aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libempathy-gtk/empathy-video-widget.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-video-widget.c b/libempathy-gtk/empathy-video-widget.c
index 568a54901..605039f3f 100644
--- a/libempathy-gtk/empathy-video-widget.c
+++ b/libempathy-gtk/empathy-video-widget.c
@@ -364,6 +364,7 @@ empathy_video_widget_sync_message_cb (GstBus *bus, GstMessage *message,
if (gst_structure_has_name (s, "prepare-xwindow-id"))
{
+ g_assert (GTK_WIDGET_REALIZED (GTK_WIDGET (self)));
gst_x_overlay_set_xwindow_id (GST_X_OVERLAY (priv->overlay),
GDK_WINDOW_XID (GTK_WIDGET (self)->window));
}