aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2004-06-24 06:55:20 +0800
committerChristian Persch <chpe@src.gnome.org>2004-06-24 06:55:20 +0800
commit24833bb6604df5e36c39bab539fdbea4b5b57fe5 (patch)
tree8de4cb14cc3c33813002e70e583b71391e01273d /embed/mozilla
parente551b43db8b8342ec39df544921c39f2e377d5bf (diff)
downloadgsoc2013-epiphany-24833bb6604df5e36c39bab539fdbea4b5b57fe5.tar
gsoc2013-epiphany-24833bb6604df5e36c39bab539fdbea4b5b57fe5.tar.gz
gsoc2013-epiphany-24833bb6604df5e36c39bab539fdbea4b5b57fe5.tar.bz2
gsoc2013-epiphany-24833bb6604df5e36c39bab539fdbea4b5b57fe5.tar.lz
gsoc2013-epiphany-24833bb6604df5e36c39bab539fdbea4b5b57fe5.tar.xz
gsoc2013-epiphany-24833bb6604df5e36c39bab539fdbea4b5b57fe5.tar.zst
gsoc2013-epiphany-24833bb6604df5e36c39bab539fdbea4b5b57fe5.zip
Removed unused array, and added a few missing statics.
2004-06-24 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/mozilla-embed-single.cpp: Removed unused array, and added a few missing statics.
Diffstat (limited to 'embed/mozilla')
-rw-r--r--embed/mozilla/mozilla-embed-single.cpp13
1 files changed, 3 insertions, 10 deletions
diff --git a/embed/mozilla/mozilla-embed-single.cpp b/embed/mozilla/mozilla-embed-single.cpp
index 7b48f03f6..62efe62de 100644
--- a/embed/mozilla/mozilla-embed-single.cpp
+++ b/embed/mozilla/mozilla-embed-single.cpp
@@ -708,14 +708,7 @@ impl_remove_password (EphyPasswordManager *manager,
pm->RemoveUser (nsEmbedCString(info->host), userName);
}
-static const char *permission_type_string [] =
-{
- "cookie",
- "image",
- "popup"
-};
-
-void
+static void
impl_permission_manager_add (EphyPermissionManager *manager,
const char *host,
const char *type,
@@ -740,7 +733,7 @@ impl_permission_manager_add (EphyPermissionManager *manager,
(PRUint32) nsIPermissionManager::DENY_ACTION);
}
-void
+static void
impl_permission_manager_remove (EphyPermissionManager *manager,
const char *host,
const char *type)
@@ -752,7 +745,7 @@ impl_permission_manager_remove (EphyPermissionManager *manager,
pm->Remove (nsEmbedCString (host), type);
}
-void
+static void
impl_permission_manager_clear (EphyPermissionManager *manager)
{
nsCOMPtr<nsIPermissionManager> pm