Fix for the annoying viewer/apprunner problem that wouldnt let you make a

window small.
This commit is contained in:
ramiro%netscape.com 1999-07-16 03:53:06 +00:00
Родитель 415d5a3728
Коммит b5287043f0
1 изменённых файлов: 2 добавлений и 1 удалений

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

@ -775,7 +775,8 @@ NS_METHOD nsWindow::Resize(PRUint32 aWidth, PRUint32 aHeight, PRBool aRepaint)
{
mShell->allocation.width = aWidth;
mShell->allocation.height = aHeight;
gtk_widget_set_usize(mShell, aWidth, aHeight);
gtk_window_set_default_size(GTK_WINDOW(mShell), aWidth, aHeight);
}
gtk_widget_set_usize(mWidget, aWidth, aHeight);