From 573f8a698ab2480e49abea87aeeb9bc301738027 Mon Sep 17 00:00:00 2001 From: "blizzard%redhat.com" Date: Wed, 31 Jan 2001 04:31:35 +0000 Subject: [PATCH] Fix bug #66798. Only output our warning on DEBUG builds. r=pavlov, sr=blizzard r=doron git-svn-id: svn://10.0.0.236/trunk@85815 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/widget/src/gtk/nsWindow.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mozilla/widget/src/gtk/nsWindow.cpp b/mozilla/widget/src/gtk/nsWindow.cpp index b8b166fea65..7ac679ac639 100644 --- a/mozilla/widget/src/gtk/nsWindow.cpp +++ b/mozilla/widget/src/gtk/nsWindow.cpp @@ -1591,8 +1591,11 @@ gint nsWindow::ConvertBorderStyles(nsBorderStyle bs) w |= GDK_DECOR_MINIMIZE; if (bs & eBorderStyle_maximize) w |= GDK_DECOR_MAXIMIZE; - if (bs & eBorderStyle_close) + if (bs & eBorderStyle_close) { +#ifdef DEBUG printf("we don't handle eBorderStyle_close yet... please fix me\n"); +#endif /* DEBUG */ + } return w; }