No need to call the private versions anymore now that the real ones don't call into the theming engine.
GtkThemingEngine just always calls gtk_do_render_foo(engine->priv->context, ...) now. Other than that, the code is unchanged.