aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--embed/mozilla/mozilla-embed-single.cpp25
2 files changed, 6 insertions, 25 deletions
diff --git a/ChangeLog b/ChangeLog
index ee92c5a0f..d40445e5c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2005-09-21 Jean-François Rameau <jframeau@cvs.gnome.org>
+
+ * embed/mozilla/mozilla-embed-single.cpp: (have_gnome_url_handler):
+
+ Remove unused function.
+
2005-09-21 Christian Persch <chpe@cvs.gnome.org>
* lib/ephy-gui.c:
diff --git a/embed/mozilla/mozilla-embed-single.cpp b/embed/mozilla/mozilla-embed-single.cpp
index 507291a4b..34cc1f0d5 100644
--- a/embed/mozilla/mozilla-embed-single.cpp
+++ b/embed/mozilla/mozilla-embed-single.cpp
@@ -113,7 +113,6 @@ static void ephy_cookie_manager_iface_init (EphyCookieManagerIface *iface);
static void ephy_password_manager_iface_init (EphyPasswordManagerIface *iface);
static void ephy_permission_manager_iface_init (EphyPermissionManagerIface *iface);
static void mozilla_embed_single_init (MozillaEmbedSingle *ges);
-static gboolean have_gnome_url_handler (const gchar *protocol);
static GObjectClass *parent_class = NULL;
@@ -403,30 +402,6 @@ mozilla_init_profile (void)
g_free (profile_path);
}
-static gboolean
-have_gnome_url_handler (const gchar *protocol)
-{
- gchar *key, *cmd;
- gboolean rv;
-
- key = g_strdup_printf ("/desktop/gnome/url-handlers/%s/command",
- protocol);
- cmd = eel_gconf_get_string (key);
- g_free (key);
-
- rv = (cmd != NULL && strstr (cmd, "epiphany") == NULL);
- g_free (cmd);
-
- if (!rv) return rv;
-
- key = g_strdup_printf ("/desktop/gnome/url-handlers/%s/enabled",
- protocol);
- rv = eel_gconf_get_boolean (key);
- g_free (key);
-
- return rv;
-}
-
#if defined(MOZ_NSIXULCHROMEREGISTRY_SELECTSKIN) || defined(HAVE_CHROME_NSICHROMEREGISTRYSEA_H)
static nsresult
getUILang (nsAString& aUILang)