Draw directly onto windows, not on a pixmap

This commit is contained in:
msw%gimp.org 1998-11-14 06:35:25 +00:00
Родитель 0647ee3c40
Коммит 2ae2b3babd
1 изменённых файлов: 38 добавлений и 43 удалений

Просмотреть файл

@ -467,14 +467,9 @@ NS_IMETHODIMP nsRenderingContextGTK::CreateDrawingSurface(nsRect *aBounds,
return NS_ERROR_FAILURE;
}
GdkPixmap *pixmap = ::gdk_pixmap_new(mRenderingSurface->drawable,
aBounds->width,
aBounds->height,
-1);
nsDrawingSurfaceGTK * surface = new nsDrawingSurfaceGTK();
surface->drawable = pixmap ;
surface->drawable = mRenderingSurface->drawable;
surface->gc = mRenderingSurface->gc;
aSurface = (nsDrawingSurface)surface;