aboutsummaryrefslogtreecommitdiffstats
path: root/embed
diff options
context:
space:
mode:
Diffstat (limited to 'embed')
-rw-r--r--embed/mozilla/GtkNSSClientAuthDialogs.cpp4
-rw-r--r--embed/mozilla/GtkNSSDialogs.cpp4
-rw-r--r--embed/mozilla/GtkNSSKeyPairDialogs.cpp4
-rw-r--r--embed/mozilla/Makefile.am16
4 files changed, 10 insertions, 18 deletions
diff --git a/embed/mozilla/GtkNSSClientAuthDialogs.cpp b/embed/mozilla/GtkNSSClientAuthDialogs.cpp
index cd1ee2fb9..d8f68c883 100644
--- a/embed/mozilla/GtkNSSClientAuthDialogs.cpp
+++ b/embed/mozilla/GtkNSSClientAuthDialogs.cpp
@@ -24,8 +24,6 @@
#include "config.h"
-#ifdef HAVE_MOZILLA_PSM
-
#include "EphyUtils.h"
#include <nsIServiceManager.h>
@@ -284,5 +282,3 @@ GtkNSSClientAuthDialogs::ChooseCertificate (nsIInterfaceRequestor *ctx,
gtk_widget_destroy (dialog);
return NS_OK;
}
-
-#endif
diff --git a/embed/mozilla/GtkNSSDialogs.cpp b/embed/mozilla/GtkNSSDialogs.cpp
index c245a082d..52a2e351a 100644
--- a/embed/mozilla/GtkNSSDialogs.cpp
+++ b/embed/mozilla/GtkNSSDialogs.cpp
@@ -30,8 +30,6 @@
#include "config.h"
-#ifdef HAVE_MOZILLA_PSM
-
#include "EphyUtils.h"
#include <nsCOMPtr.h>
@@ -1465,5 +1463,3 @@ GtkNSSDialogs::ViewCert(nsIInterfaceRequestor *ctx,
gtk_widget_destroy (dialog);
return NS_OK;
}
-
-#endif
diff --git a/embed/mozilla/GtkNSSKeyPairDialogs.cpp b/embed/mozilla/GtkNSSKeyPairDialogs.cpp
index 90a1d958f..4670abd06 100644
--- a/embed/mozilla/GtkNSSKeyPairDialogs.cpp
+++ b/embed/mozilla/GtkNSSKeyPairDialogs.cpp
@@ -39,8 +39,6 @@
#include "config.h"
-#ifdef HAVE_MOZILLA_PSM
-
#include "EphyUtils.h"
#include <nsIServiceManager.h>
@@ -711,5 +709,3 @@ NS_IMETHODIMP KeyPairHelperWindow::GetWindowRoot(nsIDOMEventTarget * *aWindowRoo
{
MOZ_NOT_IMPLEMENTED
}
-
-#endif
diff --git a/embed/mozilla/Makefile.am b/embed/mozilla/Makefile.am
index 029956db0..ec3913a64 100644
--- a/embed/mozilla/Makefile.am
+++ b/embed/mozilla/Makefile.am
@@ -66,12 +66,6 @@ libephymozillaembed_la_SOURCES = \
EventContext.h \
GlobalHistory.cpp \
GlobalHistory.h \
- GtkNSSClientAuthDialogs.cpp \
- GtkNSSClientAuthDialogs.h \
- GtkNSSDialogs.cpp \
- GtkNSSDialogs.h \
- GtkNSSKeyPairDialogs.cpp \
- GtkNSSKeyPairDialogs.h \
MozDownload.cpp \
MozDownload.h \
MozillaPrivate.cpp \
@@ -98,3 +92,13 @@ libephymozillaembed_la_SOURCES += \
FilePicker.cpp \
FilePicker.h
endif
+
+if HAVE_MOZILLA_PSM
+libephymozillaembed_la_SOURCES += \
+ GtkNSSClientAuthDialogs.cpp \
+ GtkNSSClientAuthDialogs.h \
+ GtkNSSDialogs.cpp \
+ GtkNSSDialogs.h \
+ GtkNSSKeyPairDialogs.cpp \
+ GtkNSSKeyPairDialogs.h
+endif