This commit is contained in:
pavlov%pavlov.net 1999-01-17 17:51:02 +00:00
Родитель 233706ef10
Коммит 6240573521
1 изменённых файлов: 1 добавлений и 1 удалений

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

@ -515,7 +515,7 @@ NS_IMETHODIMP nsRenderingContextGTK::CreateDrawingSurface(nsRect *aBounds,
}
g_return_val_if_fail (aBounds != NULL, NS_ERROR_FAILURE);
g_return_val_if_fail ((aBounds->width != 0) && (aBounds->height != 0), NS_ERROR_FAILURE);
g_return_val_if_fail ((aBounds->width > 0) && (aBounds->height > 0), NS_ERROR_FAILURE);
pixmap = ::gdk_pixmap_new(mRenderingSurface->drawable, aBounds->width, aBounds->height, -1);
nsDrawingSurfaceGTK * surface = new nsDrawingSurfaceGTK();