Remove a bogus warning, a bogus check, and the comments surrounding all of it. bug 325073, r+sr=roc

git-svn-id: svn://10.0.0.236/trunk@191102 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
mrbkap%gmail.com
2006-02-24 00:45:25 +00:00
parent c1ddccc60f
commit a816c8817f

View File

@@ -576,16 +576,7 @@ nsWindow::Move(PRInt32 aX, PRInt32 aY)
gtk_window_move(GTK_WINDOW(mShell), newrect.x, newrect.y);
}
else {
// We only move the toplevel window if someone has
// actually placed the window somewhere. If no placement
// has taken place, we just let the window manager Do The
// Right Thing.
// XXX Uhhh ... aX and aY are in twips, not screen coordinates
// XXX mPlaced is always PR_TRUE here, see above
if (mPlaced) {
NS_WARNING("BOGUS code reached!");
gtk_window_move(GTK_WINDOW(mShell), aX, aY);
}
gtk_window_move(GTK_WINDOW(mShell), aX, aY);
}
}
else if (mDrawingarea) {