Since empathy_call_window_show_video_output_cb() is called
in an idle thread, it's possible that the video is removed
before the function is executed, so check if it's still there
before showing it.
{
EmpathyCallWindow *self = EMPATHY_CALL_WINDOW (user_data);
- gtk_widget_hide (self->priv->remote_user_avatar_widget);
- clutter_actor_show (self->priv->video_output);
+ if (self->priv->video_output != NULL)
+ {
+ gtk_widget_hide (self->priv->remote_user_avatar_widget);
+ clutter_actor_show (self->priv->video_output);
+ }
return FALSE;
}