math_view->renderingContext = new Gtk_RenderingContext;
math_view->renderingContext = new Gtk_RenderingContext(math_view_class->logger);
gtk_math_view_init(GtkMathView* math_view){  g_return_if_fail(math_view != NULL);  math_view->pixmap          = NULL;  math_view->view            = 0;  math_view->renderingContext = 0;  math_view->freeze_counter  = 0;  math_view->select_state    = SELECT_STATE_NO;  math_view->button_pressed  = FALSE;  math_view->current_elem    = NULL;  math_view->cursor_elem     = NULL;  math_view->cursor_index    = 0;  math_view->cursor_visible  = GTKMATHVIEW_CURSOR_OFF;  math_view->hadjustment = NULL;  math_view->vadjustment = NULL;  math_view->top_x = math_view->top_y = 0;  math_view->old_top_x = math_view->old_top_y = 0;#if 1  SmartPtr<MathView> view = MathView::create();  view->ref();  math_view->view = view;  GtkMathViewClass* math_view_class = GTK_MATH_VIEW_CLASS(G_OBJECT_GET_CLASS(G_OBJECT(math_view)));  g_assert(math_view_class != NULL);  view->setLogger(math_view_class->logger);  view->setOperatorDictionary(math_view_class->dictionary);  view->setMathMLNamespaceContext(MathMLNamespaceContext::create(view, math_view_class->math_graphic_device));#if ENABLE_BOXML  view->setBoxMLNamespaceContext(BoxMLNamespaceContext::create(view, math_view_class->box_graphic_device));#endif // ENABLE_BOXML  math_view->renderingContext = new Gtk_RenderingContext;  math_view->renderingContext->setColorMap(gtk_widget_get_colormap(GTK_WIDGET(math_view)));#endif}