Bug 553640 Cannot build with --disable-logging because #include "nsGtkIMModule.h" is in #ifdef MOZ_LOGGING block in nsWindow.h r=karlt
authorMasayuki Nakano <masayuki@d-toybox.com>
Sat, 20 Mar 2010 21:00:55 +0900
changeset 39654 4d42c48203ec279820bbd58cf61056b50b70321f
parent 39653 45338ed951a7eed23d1f76d34fd419e4cadf99f6
child 39655 d03261d7898a4fb4c1c1a3581461453a33309c67
push idunknown
push userunknown
push dateunknown
reviewerskarlt
bugs553640
milestone1.9.3a4pre
Bug 553640 Cannot build with --disable-logging because #include "nsGtkIMModule.h" is in #ifdef MOZ_LOGGING block in nsWindow.h r=karlt
widget/src/gtk2/nsWindow.h
--- a/widget/src/gtk2/nsWindow.h
+++ b/widget/src/gtk2/nsWindow.h
@@ -64,30 +64,26 @@
 #include <gdk/gdkx.h>
 #endif /* MOZ_X11 */
 
 #ifdef ACCESSIBILITY
 #include "nsIAccessNode.h"
 #include "nsIAccessible.h"
 #endif
 
-#ifdef USE_XIM
-#include "pldhash.h"
-#endif
+#include "nsGtkIMModule.h"
 
 #ifdef MOZ_LOGGING
 
 // make sure that logging is enabled before including prlog.h
 #define FORCE_PR_LOG
 
 #include "prlog.h"
 #include "nsTArray.h"
 
-#include "nsGtkIMModule.h"
-
 extern PRLogModuleInfo *gWidgetLog;
 extern PRLogModuleInfo *gWidgetFocusLog;
 extern PRLogModuleInfo *gWidgetDragLog;
 extern PRLogModuleInfo *gWidgetDrawLog;
 
 #define LOG(args) PR_LOG(gWidgetLog, 4, args)
 #define LOGFOCUS(args) PR_LOG(gWidgetFocusLog, 4, args)
 #define LOGDRAG(args) PR_LOG(gWidgetDragLog, 4, args)