From 78e9b67595542545d4567d3681ba13190e5b8dc6 Mon Sep 17 00:00:00 2001 From: "neil%parkwaycc.co.uk" Date: Tue, 27 Sep 2005 12:40:37 +0000 Subject: [PATCH] Supplementary patch to bug 305384 to fix alerts on GTK1 r+sr=roc git-svn-id: svn://10.0.0.236/trunk@181040 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/widget/src/gtk/nsWindow.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/mozilla/widget/src/gtk/nsWindow.cpp b/mozilla/widget/src/gtk/nsWindow.cpp index a9bd115cfd0..e06b29cd0a9 100644 --- a/mozilla/widget/src/gtk/nsWindow.cpp +++ b/mozilla/widget/src/gtk/nsWindow.cpp @@ -2772,8 +2772,6 @@ NS_IMETHODIMP nsWindow::Resize(PRInt32 aWidth, PRInt32 aHeight, PRBool aRepaint) // Show(TRUE) will be ignored until a larger resize has happened if (aWidth <= 1 || aHeight <= 1) { - aWidth = 1; - aHeight = 1; mIsTooSmall = PR_TRUE; } else