diff --git a/b2g/installer/package-manifest.in b/b2g/installer/package-manifest.in index 19f29bec0706..6f2afb35431c 100644 --- a/b2g/installer/package-manifest.in +++ b/b2g/installer/package-manifest.in @@ -716,11 +716,6 @@ @RESPATH@/components/PrivateBrowsing.manifest @RESPATH@/components/PrivateBrowsingTrackingProtectionWhitelist.js -; GNOME hooks -#ifdef MOZ_ENABLE_GNOME_COMPONENT -@RESPATH@/components/@DLL_PREFIX@mozgnome@DLL_SUFFIX@ -#endif - ; Signed Packaged Content @RESPATH@/components/InstallPackagedWebapp.manifest @RESPATH@/components/InstallPackagedWebapp.js diff --git a/browser/installer/Makefile.in b/browser/installer/Makefile.in index 8722799f796a..bb91b4a29272 100644 --- a/browser/installer/Makefile.in +++ b/browser/installer/Makefile.in @@ -24,10 +24,6 @@ ifdef MOZ_DEBUG DEFINES += -DMOZ_DEBUG=1 endif -ifdef MOZ_ENABLE_GNOME_COMPONENT -DEFINES += -DMOZ_ENABLE_GNOME_COMPONENT=1 -endif - ifdef MOZ_WIDGET_GTK DEFINES += -DMOZ_GTK=1 ifdef MOZ_ENABLE_GTK3 diff --git a/browser/installer/package-manifest.in b/browser/installer/package-manifest.in index 35bccc54d340..38869d601d68 100644 --- a/browser/installer/package-manifest.in +++ b/browser/installer/package-manifest.in @@ -495,12 +495,6 @@ #ifdef XP_MACOSX @RESPATH@/browser/components/SafariProfileMigrator.js #endif -#ifdef MOZ_ENABLE_GNOME_COMPONENT -@RESPATH@/components/@DLL_PREFIX@mozgnome@DLL_SUFFIX@ -#endif -#if defined(MOZ_ENABLE_DBUS) || defined(MOZ_ENABLE_GNOME_COMPONENT) -@RESPATH@/components/components.manifest -#endif @RESPATH@/components/nsINIProcessor.manifest @RESPATH@/components/nsINIProcessor.js @RESPATH@/components/nsPrompter.manifest diff --git a/configure.in b/configure.in index f71d5e6c9e3b..66629d299052 100644 --- a/configure.in +++ b/configure.in @@ -4702,16 +4702,6 @@ then fi AC_SUBST(MOZ_ENABLE_LIBPROXY) -dnl ======================================================== -dnl = GNOME component (mozgnome) -dnl ======================================================== - -if test "$MOZ_ENABLE_GTK" -then - MOZ_ENABLE_GNOME_COMPONENT=1 -fi -AC_SUBST(MOZ_ENABLE_GNOME_COMPONENT) - dnl ======================================================== dnl = libgnomeui support module dnl ======================================================== diff --git a/mobile/android/b2gdroid/installer/package-manifest.in b/mobile/android/b2gdroid/installer/package-manifest.in index 6ac7d5d40d4d..3b91dfe21189 100644 --- a/mobile/android/b2gdroid/installer/package-manifest.in +++ b/mobile/android/b2gdroid/installer/package-manifest.in @@ -477,11 +477,6 @@ @BINPATH@/components/url-classifier.xpt #endif -; GNOME hooks -#ifdef MOZ_ENABLE_GNOME_COMPONENT -@BINPATH@/components/@DLL_PREFIX@mozgnome@DLL_SUFFIX@ -#endif - ; [Browser Chrome Files] @BINPATH@/chrome/browser@JAREXT@ @BINPATH@/chrome/browser.manifest diff --git a/mobile/android/installer/package-manifest.in b/mobile/android/installer/package-manifest.in index 627f7a68cee0..3e19d96ee8f6 100644 --- a/mobile/android/installer/package-manifest.in +++ b/mobile/android/installer/package-manifest.in @@ -489,11 +489,6 @@ @BINPATH@/components/PrivateBrowsing.manifest @BINPATH@/components/PrivateBrowsingTrackingProtectionWhitelist.js -; GNOME hooks -#ifdef MOZ_ENABLE_GNOME_COMPONENT -@BINPATH@/components/@DLL_PREFIX@mozgnome@DLL_SUFFIX@ -#endif - ; [Browser Chrome Files] @BINPATH@/chrome/browser@JAREXT@ @BINPATH@/chrome/browser.manifest diff --git a/toolkit/system/gnome/moz.build b/toolkit/system/gnome/moz.build index 1b168f4de8af..0ecde073653e 100644 --- a/toolkit/system/gnome/moz.build +++ b/toolkit/system/gnome/moz.build @@ -22,7 +22,7 @@ if CONFIG['MOZ_ENABLE_GIO']: 'nsPackageKitService.cpp' ] -XPCOMBinaryComponent('mozgnome') +FINAL_LIBRARY = 'xul' LOCAL_INCLUDES += [ '/toolkit/components/build/', @@ -36,10 +36,5 @@ CXXFLAGS += CONFIG['MOZ_DBUS_GLIB_CFLAGS'] if CONFIG['MOZ_ENABLE_GTK']: CXXFLAGS += CONFIG['TK_CFLAGS'] -OS_LIBS += CONFIG['MOZ_GCONF_LIBS'] -OS_LIBS += CONFIG['GLIB_LIBS'] -OS_LIBS += CONFIG['MOZ_GIO_LIBS'] -OS_LIBS += CONFIG['MOZ_DBUS_GLIB_LIBS'] - if CONFIG['GNU_CXX']: CXXFLAGS += ['-Wshadow'] diff --git a/toolkit/system/gnome/nsAlertsIconListener.cpp b/toolkit/system/gnome/nsAlertsIconListener.cpp index 667357dcdfa4..6f04e10e7f2c 100644 --- a/toolkit/system/gnome/nsAlertsIconListener.cpp +++ b/toolkit/system/gnome/nsAlertsIconListener.cpp @@ -12,6 +12,7 @@ #include "nsIImageToPixbuf.h" #include "nsIStringBundle.h" #include "nsIObserverService.h" +#include "nsIURI.h" #include "nsCRT.h" #include diff --git a/toolkit/system/gnome/nsAlertsIconListener.h b/toolkit/system/gnome/nsAlertsIconListener.h index dd99b960ad25..296a50ac230d 100644 --- a/toolkit/system/gnome/nsAlertsIconListener.h +++ b/toolkit/system/gnome/nsAlertsIconListener.h @@ -8,7 +8,7 @@ #include "nsCOMPtr.h" #include "imgINotificationObserver.h" -#include "nsStringAPI.h" +#include "nsString.h" #include "nsIObserver.h" #include "nsWeakReference.h" diff --git a/toolkit/system/gnome/nsGConfService.cpp b/toolkit/system/gnome/nsGConfService.cpp index 5e7d9ed9c824..ede71e5883a9 100644 --- a/toolkit/system/gnome/nsGConfService.cpp +++ b/toolkit/system/gnome/nsGConfService.cpp @@ -5,7 +5,7 @@ #include "mozilla/ArrayUtils.h" #include "nsGConfService.h" -#include "nsStringAPI.h" +#include "nsString.h" #include "nsCOMPtr.h" #include "nsComponentManagerUtils.h" #include "nsISupportsPrimitives.h" diff --git a/toolkit/system/gnome/nsGIOService.cpp b/toolkit/system/gnome/nsGIOService.cpp index 4e2ac834e336..ae7a641123e4 100644 --- a/toolkit/system/gnome/nsGIOService.cpp +++ b/toolkit/system/gnome/nsGIOService.cpp @@ -4,7 +4,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #include "nsGIOService.h" -#include "nsStringAPI.h" +#include "nsString.h" #include "nsIURI.h" #include "nsTArray.h" #include "nsIStringEnumerator.h" @@ -69,7 +69,7 @@ NS_IMETHODIMP nsGIOMimeApp::Launch(const nsACString& aUri) { GList uris = { 0 }; - PromiseFlatCString flatUri(aUri); + nsPromiseFlatCString flatUri(aUri); uris.data = const_cast(flatUri.get()); GError *error = nullptr; diff --git a/toolkit/system/gnome/nsGSettingsService.cpp b/toolkit/system/gnome/nsGSettingsService.cpp index 669104a2fc0a..d8c46b4fe253 100644 --- a/toolkit/system/gnome/nsGSettingsService.cpp +++ b/toolkit/system/gnome/nsGSettingsService.cpp @@ -6,7 +6,7 @@ #include "mozilla/ArrayUtils.h" #include "nsGSettingsService.h" -#include "nsStringAPI.h" +#include "nsString.h" #include "nsCOMPtr.h" #include "nsMemory.h" #include "prlink.h" diff --git a/toolkit/system/gnome/nsPackageKitService.cpp b/toolkit/system/gnome/nsPackageKitService.cpp index bfd828574022..87b9f3544908 100644 --- a/toolkit/system/gnome/nsPackageKitService.cpp +++ b/toolkit/system/gnome/nsPackageKitService.cpp @@ -9,12 +9,13 @@ #include "nsIObserverService.h" #include "nsISupportsPrimitives.h" #include "nsPackageKitService.h" -#include "nsStringAPI.h" +#include "nsString.h" #include "prlink.h" #include "mozilla/unused.h" #include #include +#include using namespace mozilla; diff --git a/toolkit/toolkit.mozbuild b/toolkit/toolkit.mozbuild index f3f00be75b1b..b0872e26f994 100644 --- a/toolkit/toolkit.mozbuild +++ b/toolkit/toolkit.mozbuild @@ -155,7 +155,7 @@ DIRS += [ '/toolkit/library', ] -if CONFIG['MOZ_ENABLE_GNOME_COMPONENT']: +if CONFIG['MOZ_ENABLE_GTK']: DIRS += ['/toolkit/system/gnome'] DIRS += ['/addon-sdk']