diff --git a/extensions/pref/Makefile.in b/extensions/pref/Makefile.in index ee00dda6b08..6a23c759045 100644 --- a/extensions/pref/Makefile.in +++ b/extensions/pref/Makefile.in @@ -46,9 +46,7 @@ include $(DEPTH)/config/autoconf.mk DIRS = autoconfig ifdef MOZ_ENABLE_GTK2 -ifdef MOZ_ENABLE_GCONF DIRS += system-pref endif -endif include $(topsrcdir)/config/rules.mk diff --git a/extensions/pref/system-pref/src/Makefile.in b/extensions/pref/system-pref/src/Makefile.in index 7da79c96d66..75053dc36de 100644 --- a/extensions/pref/system-pref/src/Makefile.in +++ b/extensions/pref/system-pref/src/Makefile.in @@ -52,10 +52,8 @@ LIBXUL_LIBRARY = 1 ifdef MOZ_ENABLE_GTK2 -ifdef MOZ_ENABLE_GCONF DIRS = gconf endif -endif CPPSRCS = \ nsSystemPref.cpp \ diff --git a/toolkit/library/libxul-config.mk b/toolkit/library/libxul-config.mk index 0fd82c8f597..8b763f0c6e1 100644 --- a/toolkit/library/libxul-config.mk +++ b/toolkit/library/libxul-config.mk @@ -260,11 +260,9 @@ endif ifdef MOZ_ENABLE_GTK2 COMPONENT_LIBS += widget_gtk2 ifdef MOZ_PREF_EXTENSIONS -ifdef MOZ_ENABLE_GCONF COMPONENT_LIBS += system-pref endif endif -endif ifdef MOZ_ENABLE_GTK2 ifdef MOZ_X11 diff --git a/toolkit/library/nsStaticXULComponents.cpp b/toolkit/library/nsStaticXULComponents.cpp index 1d03f63d062..4e3c0326eec 100644 --- a/toolkit/library/nsStaticXULComponents.cpp +++ b/toolkit/library/nsStaticXULComponents.cpp @@ -111,14 +111,12 @@ #ifdef MOZ_PREF_EXTENSIONS #ifdef MOZ_ENABLE_GTK2 -#ifdef MOZ_ENABLE_GCONF #define SYSTEMPREF_MODULES \ MODULE(nsSystemPrefModule) \ MODULE(nsAutoConfigModule) #else #define SYSTEMPREF_MODULES MODULE(nsAutoConfigModule) #endif -#endif #else #define SYSTEMPREF_MODULES #endif diff --git a/widget/src/gtk2/nsWindow.cpp b/widget/src/gtk2/nsWindow.cpp index dfd1a3ffb46..c356d835811 100644 --- a/widget/src/gtk2/nsWindow.cpp +++ b/widget/src/gtk2/nsWindow.cpp @@ -4229,7 +4229,6 @@ nsWindow::Create(nsIWidget *aParent, Resize(mBounds.x, mBounds.y, mBounds.width, mBounds.height, PR_FALSE); #ifdef ACCESSIBILITY -#ifdef MOZ_ENABLE_GCONF nsresult rv; if (!sAccessibilityChecked) { sAccessibilityChecked = PR_TRUE; @@ -4251,12 +4250,11 @@ nsWindow::Create(nsIWidget *aParent, sysPrefService->GetBoolPref(sAccessibilityKey, &sAccessibilityEnabled); } + } } #endif -#endif - #ifdef MOZ_DFB if (!mDFB) { DirectFBCreate( &mDFB );