From df49accf6077fd6dc3dded154f57ea708ee6e04c Mon Sep 17 00:00:00 2001 From: "ginn.chen@sun.com" Date: Thu, 14 Jun 2007 03:26:47 -0700 Subject: [PATCH] Bug 384187 Fix systempref module for GTK2r=bsmedberg --- toolkit/library/Makefile.in | 1 + toolkit/library/nsStaticXULComponents.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/toolkit/library/Makefile.in b/toolkit/library/Makefile.in index 52002d2f672..974b84b53dd 100644 --- a/toolkit/library/Makefile.in +++ b/toolkit/library/Makefile.in @@ -80,6 +80,7 @@ endif ifneq (,$(MOZ_ENABLE_GTK2)) SHARED_LIBRARY_LIBS += \ $(DEPTH)/embedding/browser/gtk/src/$(LIB_PREFIX)gtkembedmoz.$(LIB_SUFFIX) +DEFINES += -DMOZ_ENABLE_GTK2 endif SHARED_LIBRARY_LIBS += \ diff --git a/toolkit/library/nsStaticXULComponents.cpp b/toolkit/library/nsStaticXULComponents.cpp index 1e7cea82830..9b84e9038e4 100644 --- a/toolkit/library/nsStaticXULComponents.cpp +++ b/toolkit/library/nsStaticXULComponents.cpp @@ -153,7 +153,7 @@ #ifdef MOZ_ENABLE_GTK2 #ifdef MOZ_PREF_EXTENSIONS -#define SYSTEMPREF_MODULES MODULE(system-pref) \ +#define SYSTEMPREF_MODULES MODULE(nsSystemPrefModule) \ MODULE(nsAutoConfigModule) #else #define SYSTEMPREF_MODULES