drawable_class->get_visual = gdk_win32_get_visual;
drawable_class->get_image = _gdk_win32_get_image;
+
+ drawable_class->_copy_to_image = _gdk_win32_copy_to_image;
}
static void
hdc = gdk_win32_hdc_get (drawable, gc, 0);
- if (image->visual->type == GDK_VISUAL_PSEUDO_COLOR &&
+ if (image->visual && image->visual->type == GDK_VISUAL_PSEUDO_COLOR &&
colormap_private && colormap_private->xcolormap->rc_palette)
{
if (!bmi_inited)