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

This commit is contained in:
mrbkap%gmail.com 2006-02-24 00:45:25 +00:00
Родитель b3c5aac5fd
Коммит bee9ccb458
1 изменённых файлов: 1 добавлений и 10 удалений

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

@ -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) {