cut down on debugging message spam

git-svn-id: svn://10.0.0.236/trunk@41269 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
pavlov%netscape.com 1999-07-27 08:25:52 +00:00
parent 2fea3674e2
commit 76edec5652
2 changed files with 7 additions and 2 deletions

View File

@ -1039,7 +1039,13 @@ PRBool nsWidget::DispatchFocus(nsGUIEvent &aEvent)
#undef TRACE_EVENTS_PAINT
#undef TRACE_EVENTS_CROSSING
#if defined(DEBUG_mcafee) || !defined(DEBUG_pavlov)
#if 0
#ifdef DEBUG_pavlov
#define EVENT_SPAM
#endif
#endif
#if defined(DEBUG_mcafee) || defined(EVENT_SPAM)
#define TRACE_EVENTS 1
#define TRACE_EVENTS_MOTION 1
#define TRACE_EVENTS_PAINT 1

View File

@ -296,7 +296,6 @@ NS_METHOD nsWindow::CreateNative(GtkWidget *parentWidget)
GDK_POINTER_MOTION_MASK);
g_print("windowtype = %i\n", mWindowType);
switch(mWindowType)
{
case eWindowType_dialog: