From a816c8817f4b644cb335802e863f9f8ba318bdac Mon Sep 17 00:00:00 2001 From: "mrbkap%gmail.com" Date: Fri, 24 Feb 2006 00:45:25 +0000 Subject: [PATCH] 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 --- mozilla/widget/src/gtk2/nsWindow.cpp | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/mozilla/widget/src/gtk2/nsWindow.cpp b/mozilla/widget/src/gtk2/nsWindow.cpp index da55bcea574..19642210002 100644 --- a/mozilla/widget/src/gtk2/nsWindow.cpp +++ b/mozilla/widget/src/gtk2/nsWindow.cpp @@ -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) {